Factoring a perfect square trinomial with leading coefficient greater than 1