The first thing you should know is that the range of a function is all the values it takes on the Y axis:
Then the range of this function is:
Remember that when it includes the value of an extreme it is put with brackets and when it is infinite it must be a parenthesis