Explanation:
the domain is the set or range of valid values for x.
the range is the set or range of valid values for y (= f(x)).
if you did not miss anything in your problem statement, then I see a function
y = 2x - 11 + 2
no restrictions are defined.
so, domain and range are both the interval
(-infinity, +infinity).
notice the round brackets, as "infinity" is never a value and cannot be included in an interval.
now, if you missed a division sign and the function looks like
y = 2/x - 11 + 2
then we know, x must never be 0, as a division by 0 is undefined.
so, the domain in that case would be
-infinity < x < 0, 0 < x < +infinity
or short
x <> 0
the range would still be every possible value in
(-infinity, +infinity).