fred and sam are standing 35 miles apart and they start walking in a straight line toward each other at the same time . if fred walks at a constant speed of 2 miles per hour and sam walks at a constant speed of 5 miles per hour , how many miles has sam walked when they meet ?
relative distance = 35 miles relative speed = 2 + 5 = 7 miles per hour time taken = 35 / 7 = 5 hours distance travelled by sam = 5 * 5 = 25 miles = c
multiply(5, divide(35, add(2, 5)))