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 2 miles per hour and walt ' s 6 miles per hour , how many miles had lionel walked when he met walt ?
in the first 2 hours lionel at the rate of 2 miles per hour covered distance = rate * time = 2 * 2 = 4 miles . so , the distance between him and walt was 48 - 4 = 44 miles when walt left his house . now , their combined rate to cover this distance was 2 + 6 = 8 miles per hour , hence they will meet ( they will cover that distance ) in time = distance / rate = 44 / 8 = 5.5 hours . total time that lionel was walking is 2 + 5.5 = 7.5 hours , which means that he covered in that time interval distance = rate * time = 2 * 7.5 = 15 miles . answer : b .
multiply(2, add(divide(subtract(48, multiply(2, const_2)), add(6, 2)), const_2))