Answer:
The ladder should be 34 feet long.
Step-by-step explanation:
The height of the spotlight above ground = 30 feet
The base of the ladder will be = 16 feet from the base of house
We can easily assume this to be a right triangle with perpendicular as 30 feet and base as 16 feet and we have to find the hypotenuse.
Lets say the length of the ladder or hypotenuse is = x
We will apply Pythagoras theorem here.

=> 
=> 
=> 
So, x = 34
Hence, the ladder should be 34 feet long.