Solve quadratic equations using factoring
Solve by factoring when a=1
solving by factoring when a is not equal to 1