divide 5x^3y^2+xy^4 by xy how do you work this?

subtract 1 from each exponent of x and y:

5x^2y + x^0y^3
or,
5x^2y + y^3