Domain is the set of input values,
In the graph x axis show the domain
Where the x values is lies at -2,-1,0,1,2
Sothe domain will be :
Range is the set of output values,
In the graph the value of function at y axis is : 0,2,4,6,8-2,-4.....
So, the range will be :