Answer:
The first rocket, g(x), reached its maximum height before the second rocket, h(x).
Explanation:
Each equation is in vertex form, so we can read the vertex of the rocket's path from the equation.
y = a(x -h)^2 +k . . . . . . has vertex (h, k)
__
g(x) has vertex (time, max height) = (4, 170).
h(x) has vertex (time, max height) = (5, 170).
The rockets have the same maximum height (170), but the first rocket, g(x), reaches that height in 4 seconds, one second sooner than the second rocket, h(x).
The first rocket, g(x), reached its maximum height before the second rocket, h(x).