(y-1)2

Rewrite (y-1)2 as (y-1)(y-1).

(y-1)(y-1)

Apply the distributive property.

y(y-1)-1(y-1)

Apply the distributive property.

y⋅y+y⋅-1-1(y-1)

Apply the distributive property.

y⋅y+y⋅-1-1y-1⋅-1

y⋅y+y⋅-1-1y-1⋅-1

Simplify each term.

Multiply y by y.

y2+y⋅-1-1y-1⋅-1

Move -1 to the left of y.

y2-1⋅y-1y-1⋅-1

Rewrite -1y as -y.

y2-y-1y-1⋅-1

Rewrite -1y as -y.

y2-y-y-1⋅-1

Multiply -1 by -1.

y2-y-y+1

y2-y-y+1

Subtract y from -y.

y2-2y+1

y2-2y+1

Simplify (y-1)^2