lionel left his house and walked towards walt ' s house , 48 miles away . two hours later , walt left his house and ran towards lionel ' s house . if lionel ' s speed was 3 miles per hour and walt ' s 4 miles per hour , how many miles had lionel walked when he met walt ?
"in the first 2 hours lionel at the rate of 3 miles per hour covered distance = rate * time = 3 * 2 = 6 miles . so , the distance between him and walt was 48 - 6 = 42 miles when walt left his house . now , their combined rate to cover this distance was 3 + 4 = 7 miles per hour , hence they will meet ( they will cover that distance ) in time = distance / rate = 42 / 7 = 6 hours . total time that lionel was walking is 2 + 6 = 8 hours , which means that he covered in that time interval distance = rate * time = 3 * 8 = 24 miles . answer : d ."
multiply(3, add(divide(subtract(48, multiply(3, 3)), add(4, 3)), 3))