Factor out of .

Factor out of .

Factor out of .

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify each term.

Multiply by .

Rewrite using the commutative property of multiplication.

Rewrite using the commutative property of multiplication.

Multiply by by adding the exponents.

Move .

Multiply by .

Multiply by .

Subtract from .

Move .

Subtract from .

Subtract from .

Apply the distributive property.

Move .

Multiply by .

Subtract from .

Add and .

Move .

Add and .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Remove unnecessary parentheses.

Factor y(p-2q)(p-2q)+y(2q-p)(2p-p)