Answer: 21 feet.
Explanation:
1. You know that the tree casts a 28 feet shadow and that a 6 feet fence post casts a 8 feet shadow, then, you can write the following proportion to solve this problem:

2. When you solve for the height ot tree (x), you obtain the following result:

3. Therefore, the height of the tree is 21 feet.