The angle of elevation is 25 degrees. The side opposite this angle is the height of the building. The side adjacent to this angle is the length of the shadow. Since we have opposite and adjacent, we use tangent.
tan 25 = h/62m
I'll let you finish it. And by the way, the movement of the sun has nothing to do with finding the answer, except to throw you off.