To clarify your question, the last part. Is it to the nearest foot or door? If you meant door then your answer is:
13 + 9 = 22 feet
the angle is 50 degrees
multiply 22 x tan(50) to find the height of the lamppost
22 x tan(50) = 26.21 so the lamppost is about 26 feet tall