The distance between point A and the tree represents the horizontal leg of the triangle.
The height is the tree represents the vertical leg of the triangle.
Based on the information given to us, we need to use tangent.
tan(25) = (height of tree) / (distance between point A and the tree)
Solve for (height of the tree).