In a football drill, Ron is standing 30 yards directly east of John, and Bill is standing 40 yards directly north of John. If the football is thrown from Ron to Bill then Bill to John, how many yards did the football travel?​