If a quadratic expression is not factorable into a product of two binomials, the representation of the quadratic expression as a rectangle can be adjusted using a term for a missing square piece. Part of the result will be factorable and part of it is kept as a square constant term.
Another alternative, is to use the solved result of completing the square, The General Solution of a Quadratic Equation.