Analysis: The fuel can last for 9 hours, and the time to fly with the wind+the time to fly against the wind = enough time to fly.
rule
(x/ 1500)+(x/ 1200)=9
x=6000
The plane flew 6000 kilometers and had to return.