a cyclist traveled for two days . on the second day the cyclist traveled 4 hours longer and at an average speed 10 mile per hour slower than she traveled on the first day . if during the two days she traveled a total of 240 miles and spent a total of 12 hours traveling , what was her average speed on the second day ?
solution : d = 280 mi t = 12 hrs đ â y 1 time = t 1 d â y 2 time = t 2 t 2 - t 1 = 4 hrs - - - - - ( i ) t 1 + t 2 = 12 hrs - - - - - ( ii ) adding i and ii , t 2 = 8 hrs and t 1 = 4 hrs d à y 1 rate = r 1 d â y 2 rate = r 2 r 1 - r 2 = 10 mph í . ẹ . r 1 = 10 + r 2 280 = 8 r 2 + 4 r 1 í . ẹ . 280 = 8 r 2 + 4 ( 10 + r 2 ) í . ẹ . r 2 = 20 mph answer : b
divide(subtract(240, multiply(divide(subtract(12, 4), const_2), 10)), add(divide(subtract(12, 4), const_2), add(divide(subtract(12, 4), const_2), 4)))