Simplify (x+y)(x^2-3xy+2y^2)