Write the domain and range of the function using interval notation.
A graph of an upward-facing parabola with endpoints (2,-2) and (6,-2). Both endpoints are solid circles. The vertex is (4,-6).