Two lighthouses are located 40 miles from each other. A boat is spotted at an angle of 37 degrees northeast of the western lighthouse. At this point, the boat is 28 miles from the eastern lighthouse. How far is the boat from the western lighthouse?

A. 46.27 miles
B. 17.43 miles
C. Either 46.27 miles or 17.43 miles
D. There is no possible solution.