Answer:
-2 to 2
Explanation:
see there's the sign of absolute value around x
so even if we put a negative number in place of x we'll get a positive outcome.
for example,
|x| = 4
|x| = 3
and so on
so the actual domain of |x| reduces to => 0 to 4.
as you'll get the values of |x| in between 0 and 4 throughout -4 to 4.
where the smallest value is 0 and largest is 4.
for range,
I'll just put these smallest and largest values in place of x and solve for domain
at x = 0
y= |0| - 2
y = -2
at x = 4
y = |4| - 2
y= 4 - 2
y = 2
so, the range of the function becomes -2 to 2.