Jeremy used a function to create the table below. Select the correct rule for y in terms of x in Jeremy's table

the equation is of the form y = mx + b, then
[tex]m=\frac{y2-y1}{x2-x1}=\frac{16-10}{4-2}=\frac{6}{2}=3[/tex]for b
[tex]\begin{gathered} 10=3(2)+b \\ 10=6+b \\ 10-6=6+b-6 \\ b=4 \end{gathered}[/tex]the equation is:
[tex]y=3x+4[/tex]answer: B