you are correct. but that's overkill!

we didn't need Pythagoras' theorem. you could have just used the tangent trig ratio right off the bat. you know the height of the triangle (the opposite side to the angle of elevation) and the base of the triangle (the adjacent side to the angle of elevation). tangent = opposite/adjacent