tan( angle ) = height / distance
If we turn this equation around, we can solve for the height of the tree in terms of the tangent of the angle and the distance to the tree:
height = tan( angle ) x distance
This equation was my key to finding the height of the tree.