Rewrite the equation as .

Subtract from both sides of the equation.

Divide each term in by .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Cancel the common factor of and .

Factor out of .

Cancel the common factors.

Factor out of .

Cancel the common factor.

Rewrite the expression.

Divide by .

Solve for w P=2L+2w