Let the height of tower, PQ = h m.
Px = Horizontal line
Let the positions of 1st car and 2nd car be A and B.
∠APx = 30°
∴ ∠PAQ = 30°
∠BPx = 60°
∠PBQ = 60°
Let speed of car be x m/s.
∴ Distance, AB = 6x m.
Time required to travel from B to Q be ‘n’ seconds,
∴ Distance, BQ = nx m