Question 1082983
If you draw this, the height of the tree is the opposite side and the distance to the tree is the adjacent side.  That is the tangent
tan 50=x/40
x=40 tan 50=47.67=47.7 feet