Tracking a satellite

The path of a satellite orbiting the earth causes it to pass directly over two tracking stations A and B, which are 50 miles apart. When the satellite is on one side of the two stations, the angles of elevation at A and B are measured to be 87.0° and 84.2°, respectively

A. How far is the satellite from station A?

B. How high is the station above the ground.

I'm lost on this problem. Can you help me? Thanks.