A car driver, driving in a fog, passes a pedestrian who was walking at the rate of 2 km/h in the same direction. The pedestrian could see the car for 6 minutes and it was visible to him up to distance of 0.6 km. what was speed of the car?
A. 30 kmph
B. 15 kmph
C. 20 kmph
D. 8 kmph
E. 12 kmph
Answer: Option D

distance = time*relative speed
0.6 = 6/60*(x-2)
X=8
Let, car speed =x km/hr
Relative speed = (x-2) km/hr
6 min = 1/10 hr
Now, In 1 hour the pedestrian pass (x-2) km
So, in 1/10 hour the pedestrian pass (x-2)/10 km
ATQ,
x-2/10 =.6
Or, x-2 = .6×10
Or, x-2=6
Or,x=8
How did you get the relative speed of the car with respect to the pedestrian?
Plz tell me in details