Solve factorable quadratic equations (leading coefficient is 1)