A square has four sides of the same length, so if you add g+2h up four times, you'll have the perimeter:
g+2h + g+2h + g+2h + g+2h = 4g + 8h
1.6m questions
2.0m answers