g(x)=-3x+2 with a domain of (-1,2) what is the range

we are given
[tex] g(x)=-3x+2 [/tex]
we can compare it with
slope intercept of line
[tex] y=mx+b [/tex]
so,
slope is m=-3
y-intercept is b=2
Graph:
we can draw graph
Range:
we are given domain
[tex] (-1,2] [/tex]
At x=-1:
[tex] g(-1)=-3*-1+2 [/tex]
[tex] g(-1)=5 [/tex]
At x=2:
[tex] g(2)=-3*2+2 [/tex]
[tex] g(2)=-4 [/tex]
we know that
range is all possible values of y
so, range is
[tex] [-4,5) [/tex].........Answer