OK, let set the speed of the plane as p and speed of the wind as w.
What do we have here? p+w is a speed for a plane to go to the destination point.
p-w is a speed for the return trip. And we know that return trip takes 2 hours and 40 minutes. Let's transfer the time into a proper fraction. 2 hours 40 minutes is 2 2/3 hours.
So the distance is 2*(p+w)=960
From the traveling back we learn that 2 2/3*(p-w)=960
Do you need more help with that?