Perfect square trinomial problems