Question 989695
Not stated right.  Do you want the line PARALLEL to y=2x-7 and passing through POINT (5,1)?


y=mx+b,   slope is m; and y-intercept is b.
b=y-mx;


If lines in the plane are parallel, then they have the same slope.
You are looking for {{{y=2x+b}}}; and to find your value for b,
use the point which your sought line needs to pass through.
{{{b=1-2*5}}}
{{{b=1-10}}}
{{{b=-9}}}


The line you want is  {{{highlight(y=2x-9)}}}.