Answer:
[tex]f(x) = -3x+4[/tex]
Step-by-step explanation:
We can use the form [tex]y=mx+b[/tex] to find the linear function.
From [tex]f(2)=-2[/tex] , we can write:
[tex]-2=2m+b[/tex]
From [tex]f(1)=1[/tex] , we can write:
[tex]1=m+b[/tex]
To find for [tex]m[/tex], we can substract the second equation from the first:
[tex]2m+b-(m+b) = -2-1[/tex]
[tex]2m+b-m-b=-3[/tex]
[tex]m=-3[/tex]
To find for [tex]b[/tex], we can use substitution:
[tex]1 = m+b[/tex]
[tex]1 = -3+b[/tex]
[tex]b=4[/tex]
∴ [tex]f(x) = -3x+4[/tex] is the linear function.
Hope this helps :)