By the given triangles in the figure, you can notice that the following proportion must be equal, because the involved sides are congruent:
![(y-b)/(x-0)=(m+b-b)/(1-0)](https://img.qammunity.org/2023/formulas/mathematics/college/be8rpo97s3db3f4zi6876j3oa715be2jxq.png)
In the left side, side of triangle with length y - b, divided by side with length x, must be equal to the quotient between side with length m + b - b and side with length 1.
Solve the previous equation for y, just as follow:
![\begin{gathered} (y-b)/(x)=m \\ y-b=mx \\ y=mx+b \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/dq6stlbbpuoz17ue2y16a0bc8o0gy4sk0b.png)