To make sense of the question I assume that T is the tee, not the tree, so H is 195m from where the golfer strikes the ball. The angle of shot is 10° from the line of sight to H.
We have a triangle TBH where B is the final position of the ball. Angle BTH=10°, TB=170m and TH=195m. We need the length of BH=√(170²+195²-2*170*195cos10)=40.4 m approximately.