Obviously. If you're not comfortable with doing manipulations like this, consider instead:
x^-1 * x^1 * y*x^1
...or:
x^-2 * x^2 * y*x^2
Clearly the answer should be obvious for any choice of value for x, y, or the exponent. Therefore the answer should be obvious for the problem at hand.