The angles of elevation of an airplane between two observation points, A and B, are 30 ° and 45 ° respectively. If the vertical height of the plane at the moment is 5 km, find the distance between A and B to the nearest tenth of a km.