Determine the range using interval notation f(x)= -1/2x-3 for the domain (-4,2]

We have the following:
[tex]\begin{gathered} f(x)=-\frac{1}{2}x-3 \\ \end{gathered}[/tex]the domain is the input values and the range the output values, therefore:
[tex]\begin{gathered} f(-4)=-\frac{1}{2}\cdot-4-3=2-3=-1 \\ f(2)=-\frac{1}{2}\cdot2-3=-1-3=-4 \end{gathered}[/tex]now, the range is:
[tex]\lbrack-4,1)[/tex]The answer is the option 2