Find the polynomial that represents the perimeter of the figure when
f(x) = (x + 7),

g(x) = (5x2 − 12),
and
h(x) = (2x2 + 4x + 5).