Step-by-step explanation:
similar shapes means that they have the same angles, and there is one scale factor that applies to all sides and other lines in the shapes (like heights).
therefore the ratios between 2 correlated lines are all the same.
so,
2/7 = 5/height
2×height / 7 = 5
2×height = 7×5 = 35
height = 35/2 = 17.5 in