The x-coordinate of the vertices of a square of unit area are the roots of the equation x2−3|x|+2=0 and the y-coordinates of the vertices are the roots of the equation y2−5y+6=0. The number of such square is
2
x2 - 3 |x| + 2 = 0 ⇒ |x2| - 3 |x| + 2 = 0
⇒ x = ± 1, ± 2
and y2 - 5y + 6 = 0 ⇒ y = 2, 3
So the vertices can be (-1, 2), (-1, 3), (-2, 3), (-2, 2) or (1,2), (2, 3), (2,2), (1,3)
Both are of unit area
Hence there are 2 such squares.