the angle of elevation of the sun is θ is related to the given sides of the right triangle (assuming the ground is horizontal and the flag pole is vertical) by tangent.
the shadow is adjacent to the angle while the flagpole is opposite to it.
so to find the angle of elevation:
arctan(20/8.9)
= 66.01 degrees
comment if you have any doubt or need further help.