The difference of Hectors height and 24 is 47, let h represent Hectors height.

24 + h = 47

solve for h