To find the equation in y=mx+b form, we need m and b.
The formula for slope, m :[tex] \frac{y2-y1}{x2-x1} [/tex]
where, (x1,y1) = (3,16)
and (x2,y2) = (5,10)
So, [tex] m=\frac{10-16}{5-3} =\frac{-6}{2}=-3 [/tex]
Now, Let us plug, m=-3, and (x,y)=(3,16) in y=mx+b, to find the value of b
16=-3*3 +b
16=-9+b
Adding 9 on both sides
16+9=-9+9+b
25=b
So, the value of b=25