a man covers a distance on scooter . had he moved 3 kmph faster he would have taken 40 min less . if he had moved 2 kmph slower , he would have taken 40 min more . the distance is .
e 40 km let distance = x m usual rate = y kmph x / y – x / y + 3 = 40 / 60 hr 2 y ( y + 3 ) = 9 x - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ( 1 ) x / y - 2 – x / y = 40 / 60 hr y ( y - 2 ) = 3 x - - - - - - - - - - - ( 2 ) divide 1 & 2 equations by solving we get x = 40 km
subtract(divide(multiply(const_100, 40), 40), multiply(divide(40, 2), const_3))