Factorization of Expressions Reducible to Difference of Two Squares