Factorise
Split off the degree-2 part. If the whole expression factors into two linear factors, those factors' leading parts must multiply to give . Factoring that piece alone fixes the shape of the answer.
Factor the quadratic part.
so the factorisation must look like for constants and .
Match the constant term. Multiplying the two constants gives , so is or .
Match the x and y coefficients to choose between them. Expanding gives an -coefficient of and a -coefficient of . We need and . The pair , satisfies both: and .
Write the answer.
Expand as a check.
Need to solve a different problem like this? Open the solver →