Answer
a) $f(x)=-3x$
b) See graph
Work Step by Step
We are given the linear function:
$f(2)=-6$
$f(-1)=3$
a) The function passes through the points:
$(2,-6)$
$(-1,3)$
Determine the slope of the line:
$m=\dfrac{3-(-6)}{-1-2}=\dfrac{9}{-3}=-3$
Determine the equation of the line using the slope and one of the points:
$y-3=-3(x+1)$
$y=-3x-3+3$
$y=-3x$
$f(x)=-3x$
b) Use the two points to graph the line: