Would appreciate a step by step answer to this question! :)

For the function f(x) , the two values are gvien .
[tex]f(-3)=0,\text{ f}(3)=-2[/tex]For determine the function f(x).
First find the slope of the equation.
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex][tex]m=\frac{-2-0}{3-(-3)}[/tex][tex]m=\frac{-2}{6}[/tex][tex]m=\frac{-1}{3}[/tex]The equation of the line is
[tex]y-y_1=m(x-x_1)[/tex]Substitute the values in the equation.
[tex]y-(0)=\frac{-1}{3}(x-(-3))[/tex][tex]y=\frac{-1}{3}(x+3)[/tex][tex]y=\frac{-x}{3}-1[/tex]Thus the fucntion f(x) =y is formed which is defined as
[tex]y=\frac{-x}{3}-1[/tex]