A mathematical problem about set in grade one of senior high school Set {(x, y) | y = x2-1, | x | less than or equal to 2, X belongs to Z} How to express it by enumeration,

A mathematical problem about set in grade one of senior high school Set {(x, y) | y = x2-1, | x | less than or equal to 2, X belongs to Z} How to express it by enumeration,

|If x | is less than or equal to 2, X belongs to Z
So x is - 2, - 1,0,1,2
Y is 3,0 - 1,0 3
The set is represented by enumeration
{(x,y)|(-2,3),(-1,0),(0,-1),
(1,0),(2,3)}