there are two cars . one is 300 miles north of the other . simultaneously , the car to the north is driven westward at 20 miles per hour and the other car is driven eastward at 60 miles per hour . how many miles apart are the cars after 5 hours ?
here , drawing a quick sketch of the ' actions ' described will end in a diagonal line that you canbuilda right triangle around : the right triangle will have a base of 400 and a height of 300 . the hidden pattern here is a 3 / 4 / 5 right triangle ( the 300 lines up with the ' 3 ' and the 400 lines up with the ' 4 ' ) . in this way , you can deduce that each side is ' 100 times ' bigger than it ' s corresponding side : 3 / 4 / 5 becomes 300 / 400 / 500 thus the distance between the two cars is the length of the hypotenuse of this larger right triangle . . . final answer : e
sqrt(add(power(add(multiply(60, 5), multiply(20, 5)), const_2), power(multiply(60, 5), const_2)))