Question 1151740
<pre>Start at the given point (2,1)

{{{drawing(400,400,-7,7,-7,7,grid(1),
circle(2,1,.1) )}}}

The gradient is 3.  Consider it as the fraction 3/1.

Since the gradient is positive, we draw a vertical line UPWARD
the amount of the NUMERATOR of the fraction of the gradient,
which in this case is 3, since the gradient is 3/1 with
numerator 3. 

(If it were negative we would have drawn it DOWNWARD)

{{{drawing(400,400,-7,7,-7,7,grid(1),
circle(2,1,.1),red(line(2,1,2,4)) )}}}

Next we draw a horizontal line RIGHTWARD 
the amount of the DENOMINATOR of the fraction of the gradient,
which in this case is 1, since the fraction of the gradient,
which in this case is 1, since the gradient is 3/1 with
denominator 1. 

(If it were negative we would STILL have drawn it RIGHTWARD, we ALWAYS
draw the horizontal line RIGHWARD)

{{{drawing(400,400,-7,7,-7,7,grid(1),
circle(2,1,.1),red(line(2,1,2,4),line(2,4,3,4)) )}}}

Then we draw the desired line through the given point and the point
at the end of the horizontal line:

{{{drawing(400,400,-7,7,-7,7,grid(1), line(-10,-35,9,22),
circle(2,1,.1),red(line(2,1,2,4),line(2,4,3,4)) )}}}

Edwin</pre>