Set the polynomial equal to to find the properties of the parabola.

Reorder and .

Use the form , to find the values of , , and .

Consider the vertex form of a parabola.

Substitute the values of and into the formula .

Simplify the right side.

Cancel the common factor of and .

Factor out of .

Cancel the common factors.

Factor out of .

Cancel the common factor.

Rewrite the expression.

Divide by .

Multiply by .

Find the value of using the formula .

Simplify each term.

Raise to the power of .

Multiply by .

Divide by .

Multiply by .

Subtract from .

Substitute the values of , , and into the vertex form .

Set equal to the new right side.

Find the Vertex Form g(x)=-8x+x^2+7