Factoring a quadratic in two variables with leading coefficient greater than 1