Scaling a quadratic (integer coefficients)