fred and sam are standing 50 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 5 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 = 50 miles relative speed = 5 + 5 = 10 miles per hour time taken = 50 / 10 = 5 hours distance travelled by sam = 5 * 5 = 25 miles = c"
multiply(5, divide(50, add(5, 5)))