A flag post 10 meters long is fixed on top of a tower. From a point on horizontal ground, the angles of elevation of the top and bottom of the flag post are 40 degrees and 33 degrees respectively. Calculate:
a) The height of the tower
b) The shortest distance from the point on the ground to the top of the flag post