i need help and the teacher isnt good at explaining

We are given the following equation
[tex]y=mx+b[/tex]We are also given the following values
[tex]\begin{gathered} y=5 \\ m=\frac{1}{2} \\ x=4 \end{gathered}[/tex]Let us substitute these values into the given equation and solve for b
[tex]\begin{gathered} y=mx+b \\ 5=\frac{1}{2}\cdot4+b \\ 5=\frac{4}{2}+b \\ 5=2+b \\ 5-2=b \\ 3=b \\ b=3 \end{gathered}[/tex]Therefore, the value of b is 3