This question was asked in Ex 12.2, 11

Z=x y x-y=-1,-x y=0

Rajni Goyal's image