Question 895677
The general form of a linear equation is {{{f(x)=mx+b}}}
Substitute with the points you know.
{{{f(2)=8}}}
1.{{{8=2m+b}}}
{{{f(1)=12}}}
2.{{{12=m+b}}}
Now solve for {{{m}}} and {{{b}}}
Subtract eq. 2 from eq. 1
{{{2m+b-m-b=8-12}}}
{{{m=-4}}}
Then use either equation to solve for {{{b}}}
{{{12=-4+b}}}
{{{b=16}}}
.
.
.
{{{highlight(f(x)=-4x+16)}}}