The equation of the line with slope m and y-intercept b is given by:
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
In this case the slope is 5 and the y-intercept is -2; then we have that the equation of the line is:
![y=5x-2](https://img.qammunity.org/2023/formulas/mathematics/high-school/1xxb1mp858rwv44yf8yb298btbzfzfo1ez.png)
Now that we have the equation of the line we can use it to find points on the line, we do that by given values to x (whichever values we want) and use the equation to determine its corresponding y value.
If x=0, then we have:
![\begin{gathered} y=5(0)-2 \\ y=-2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/2nk7rdqlyvmmlfd698vq5fswfitn5jkwl9.png)
Hence, the line passes through the point (0,-2).
If x=1, then we have:
![\begin{gathered} y=5(1)-2 \\ y=5-2 \\ y=3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/sr0alsvoq5rz3imkf7wmeppfzd7gsv99o5.png)
Hence, the line passes through the point (1,3).
Now that we have two points on the line we graph them on the plane:
Finally, we join the points with a straight line. Therefore, the graph of the line is: