Hello, magentarita!
I assume you made a sketch . . .
A forest ranger is walking on a path inclined at 5° to the horizontal
directly toward a 100-foot fire observation tower.
The angle of elevation from the path to the top of the tower is 40°.
How far is the ranger from the top of the tower at this time? Code:
* A
* |
* |
* 50° | 100
* |
d * |
* |
* 95° |
* * B
* 35° * 85°|
* * |
* * 5° |
R * - - - - - - - - - - - * C
The tower is: 
The ranger is at 

In right triangle 
In 
Let 
In
, the Law of Sines: . 
Therefore: . 