Consider the following diagram,
Here, ED and BC are the heights of the tree and post respectively, while AD and AB are the lengths of the shadow cast by them, respectively.
According to the given information,
Consider the tangent function of the angle A,
Substitute the values and simplify,
Thus, the tree's height is 17.5 feet.