Question 1147510
{{{y=mx+b}}}

m is slope and b is the y-intercept.

In your example, this gives {{{y=2x-5}}}.



Alternative but longer:
y intercept is point  (0, -5).

{{{m=2=(y-(-5))/(x-0)}}}

{{{2=(y+5)/x}}}

{{{2x=y+5}}}

{{{2x-5=y}}}

{{{y=2x-5}}}-----------the same equation as earlier