30x^2y - 20x^2y^2 + 10x^3y^2
This was answered here: https://web2.0calc.com/questions/factor-this-expression