Step 1. From the information given in the question,
Only three cars are there on road Y. There are only three moving cars. Distance between two cars on road X is a multiple of 5, while the distance between two cars on road Y is a multiple of 3. There are three cars to the right of A. Cis 25 meters ahead of G.It means cars A, Cand G lies are on road X. B is to the left of G. It means car B is on road Y. Distance .between E and the car in front of it is two-third of the distance between car E and the car behind it. The moving car on road Y is moving towards B. E is moving in a direction opposite to Gand C. It means car E is moving towards car B on road Y. No Car is moving towards F. Car F is to the North-East of car D. Car.D is not anywhere behind car G. Distance between G and A is half of the distance between G and D.
There can be two possible cases,
Case 1. When G is moving in the West direction.
Case 2. When G is moving in the East direction.
But it is given that car F is not behind car G. So, our case 1 will be eliminated.
There will be two more possible cases when Car A is facing south direction but both of the cases will be eliminated by the above given conditions.
Step 2.
Proceeding with the remaining information,
Distance between B and F is, 45 meters. So the distance between car E and B will be 18 meters while the distance between E and F will be 27 meters. Distance between G and A is half of the distance between G and D. Distance between car C and D is a multiple of 3 but less than 28m. It means the distance between car C and D is equal to 15 meters. Further the distance between G and D is more than 20 and distance between Cand D is multiple of 3, so from this it is clear that D is ahead of Car C .
So, we have our final solution as,
