angelina walked 1200 meters from her home to the grocery at a constant speed . she then walked 480 meters to the gym at double the speed . she spent 40 seconds less on her way from the grocery to the gym than on her way from home to the grocery . what was angelina ' s speed , in meters per second , from the grocery to the gym ?
"let the speed be x . . . so time taken from home to grocery = 1200 / x . . the speed to gym = 2 x . . so time taken = 480 / 2 x = 240 / x . . its given 1200 / x - 240 / x = 40 . . 960 / x = 40 . . x = 24 m / secs . . so grocery to gym = 2 * 24 = 48 m / s . . . d"
multiply(divide(subtract(1200, divide(480, const_2)), 40), const_2)