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