how to factor x^2+2x-3=0

(x-1)(x+3)..... if you add 3 to negative one, you get two which is your middle number. If you multiply three and negative one, you get negative three which is your last number.