Explanation
Step 1
Let
slope=2
point (3,-6)
[tex]\begin{gathered} y-y_1=m(x-x_1) \\ \end{gathered}[/tex]replace.
[tex]\begin{gathered} y-y_1=m(x-x_1) \\ y-(-6)=2(x-3) \\ y+6=2x-6 \\ \text{subtract 6 in both sides} \\ y+6-6=2x-6-6 \\ y=2x-12\rightarrow eq\text{uation of the line} \end{gathered}[/tex]Step 2
now, fidn two points of the line
a) when x= 0
[tex]\begin{gathered} y=2x-12 \\ y=2\cdot0-12 \\ y=0-12 \\ y=-12 \\ P1(0,-12) \end{gathered}[/tex]b) when x= 5
[tex]\begin{gathered} y=2x-12 \\ y=2\cdot5-12 \\ y=10-12 \\ y=-2 \\ P2(5,-2) \end{gathered}[/tex]Step 3
finally, draw the lines by using P1 and P2
I hope this helps you