Rewrite the function as an equation.

Simplify each term.

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 .

Move to the left of .

Multiply by .

Add and .

Apply the distributive property.

Simplify.

Multiply by .

Multiply by .

Subtract from .

Write as an Equation f(x)=2(x+2)^2-5