Refer to the diagram shown below.
Let h = the height of the house.
The two triangles ΔABC and ΔADE are similar because of AAA.
Therefore

That is,
h/5.1 = 17.4/2.7 = 6.4444
Multiply each side by 5.1..
h = 5.1*6.4444 = 32.8664 ft
Answer: The height of the house is 32.9 ft (to 1 dec. pl.)