Rewrite as .

Expand using the FOIL Method.

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify and combine like terms.

Simplify each term.

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Add and .

Apply the distributive property.

Simplify.

Multiply by .

Multiply by .

Add and .

The maximum or minimum of a quadratic function occurs at . If is negative, the maximum value of the function is . If is positive, the minimum value of the function is .

occurs at

Find the value of equal to .

Substitute in the values of and .

Remove parentheses.

Cancel the common factor of and .

Factor out of .

Cancel the common factors.

Factor out of .

Cancel the common factor.

Rewrite the expression.

Cancel the common factor of .

Cancel the common factor.

Divide by .

Multiply by .

Replace the variable with in the expression.

Simplify each term.

Raise to the power of .

Multiply by .

Multiply by .

Simplify by adding and subtracting.

Add and .

Subtract from .

The final answer is .

Use the and values to find where the maximum occurs.

Find the Maximum/Minimum Value g(x)=-34(x+1)^2+7