To find the equation in y=mx+b form, we need m and b.
The formula for slope, m :

where, (x1,y1) = (3,16)
and (x2,y2) = (5,10)
So,

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