A small plane departs from point A heading for an airport at point B 520 km due north. The airspeed of the plane is 240 km/h and there is a steady wind of 50 km/h blowing northwest to southeast. Determine the proper heading for the plane and the time of flight.