While flying against the wind, the plane covered 1800 km in 2 hours and 40 minutes. On the return flight it spent 16 minutes less because the plane was moving on the direction of the wind. What was the speed of the wind and the speed of the plane?