Rewrite as .

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify each term.

Multiply by .

Move to the left of .

Rewrite as .

Rewrite as .

Multiply by .

Subtract from .

Apply the distributive property.

Multiply by .

Multiply by .

Simplify 3(x-1)^2