Solve[{(x-1)/(y-2) == 0,(y-2)/(x-1) == 0},{x,y}]