You don't even need the picture to solve this one.
You said that h = 5 cot(Θ) , and you said that Θ is 30 degrees. All you need now is to find the cotangent of Θ, plop that into the equation, and the solution practically jumps off the paper into your lap.
To find the cotangent of 30 degrees, you can use a calculator, look it up in a book, read it off of a slide rule if you have one, draw a picture of a 30-60-90 right triangle etc. You'll find that the cotangent of 30 degrees is √3 . That's about 1.732 .
So your equation is h = 5 (1.732) = <em>8.66 </em>(rounded)
Apparently, somebody gave you the equation, and asked you to find 'h'. Once you had the equation, you didn't even need to know that 'h' has anything to do with a triangle.