How to factor trinomials with a leading coefficient not 1