[X+24]* 17/6=[X-24]*3
X=840
That is, the windless speed of the aircraft is 840 km/h.
The distance between the two places is: [840-24] * 3 = 2448km.