Given that the absolute value of XY-2 and the absolute value of Y-1 are opposite to each other, try to find the value of the algebraic formula

Given that the absolute value of XY-2 and the absolute value of Y-1 are opposite to each other, try to find the value of the algebraic formula

xy-2=0
y-1=0
Get the value of X, y