The draw that describes this situation looks like this:
Drawing this helped us to know that the ladder forms a right triangle with one of the walls of the house.
When we have right triangles we can apply the Pythagoras theorem, from the Pythagoras theorem we can express:
Solving for h, we get:
Then, the ladder reach 12 feet up the side of the house