Again, to solve these problems you have to draw a picture. And again, the question seems to be incomplete.
The beam at the centre, I presume it's pointing straight up. The second beam though, I expect it leads from the top of this centre beam and goes to the top of the side of the garage. But which side - the one 20 feet away or 10 feet away? The angle will of course be different depending on which side it's talking about. Or is it the corner?
Let's assume it's the corner. The walls are 20 feet high. So you're looking at a right-angled triangle whose points are at:
a) The top of the centre pole (46 feet up)
b) The top of the corner of the garage (20 feet up)
c) The point 20 feet up the centre pole.
The vertical line of the triangle is 46-20 feet = 26 feet.
The horizontal line of the triangle is the distance from the corner to the centre which you can find by pythagoras:
. Now you can use the approprate trigonometrical formula (I suggest the one for tangent) to get the angle of elevation, which is the slope of the hypotenuse (the long slopey line) of this right-angled triangle.
I can't emphasise the importance of drawing a picture to clarify things.
Also,
write down the assumptions you make (i.e. the ones I made above) when doing these problems if stuff is not clear, then at least the examiner knows you know what you're talking about.