Lighthouse B is 8 miles west of lighthouse A. A boat leaves A and sails 4 miles. At this time, it is sighted from B. If the bearing of the boat from B is N62°E, how far from B is the boat?