Modeling the Factorization of ax2+bx+c