We are given the slope and one point of a line. To graph the line, let's remember the general form for a line equation, that is:
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Where "m" is the slope and "b" the y-intercept. Replacing the value of the slope, we get:
![y=-3x+b](https://img.qammunity.org/2023/formulas/mathematics/college/4sbwu75cfh7n19kjzr6rp2h698eh3vse7u.png)
Now, to determine the value of "b" we replace the known point (1,-2), knowin that when x = 1, y = -2.
![-2=-3(1)+b](https://img.qammunity.org/2023/formulas/mathematics/college/bvfyi2rxoauigxdszpffpvqehkwlsrvonj.png)
Solving the operations:
![-2=-3+b](https://img.qammunity.org/2023/formulas/mathematics/college/joicihleaxy3xwh5vgp5dcyi3o8q1jtxt8.png)
Now we add 3 on both sides:
![\begin{gathered} -2+3=-3+3+b \\ 1=b \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/12h7lftrbz2f75k29r7dn16zidw631g8yk.png)
Replacing in the equation for the line:
![y=-3x+1](https://img.qammunity.org/2023/formulas/mathematics/college/4dvwxdo4smyuqypiauotnnli0sky8na8gd.png)
To graph this equation we need to know two points through which the line passes. We can determine those points by inserting values of "x" into the equation and solving to get the value of "y". Replacing x = 0, we get:
![\begin{gathered} y=-3(0)+1 \\ y=1 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/i20bog6bg9st414jx5k4p6w2e653d2amea.png)
Repalcing x = 1, we get:
![\begin{gathered} y=-3(1)+1 \\ y=-3+1=-2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/dq8dqb13oqtdum080co9hgr07u0u4qduy5.png)
Therefore, the line passes through the points (0,1) and (1,-2). We plot those points and join them with a line, like this: