Let the speed of Car which starts from A be
x km per hourAnd the speed of the Car which starts from B be y km per hour
Then according to the question
When cars move in the same direction till 15 Hour . then,
Distance covered by the car at A− distance covered by the car at B =150km
i.e.,15x−15y=150 .........................1
Also according to the question when the car moves in opposite direction till 1 Hour. Then,
Distance covered by the car at A = distance covered by the car at B =150km
i.e.,1x+1y=150 ...................2
Solving eq. 1 and 2 we get,
x=80 km per hour
and ,y=70 km per hour