Answer
Domain=(-$\infty$,$\infty$ )
Range={-2}
Work Step by Step
This function is a horizontal line going through the y-axis at point -2. The function stretches on indefinitely to the left and to the right. This means our domain is infinite in both directions.
Domain=(-$\infty$,$\infty$ )
The function is a horizontal line. We can not use interval notation because there is only one number. We instead use set builder notations.
Range={-2}