To make things easier, convert the form of the function, from algebraic to root
For this function, the domain can't include negative values due to the square root. It means
To define the range, evaluate the function in the lower value of the domain (which is 0)
The range include all values that are less than or equal to -4