At a point on the ground 24ft from the base of a​ tree, the distance to the top of the tree is 4ft more than 3times the height of the tree. find the height of the tree.