The slope-intercept form:

m - slope
b - y-intercept
We have the slope m = -3 and the y-intercept b = 1. Substitute:

It is a linear function. We need only two points to plot the graph.
Select two values of x. Put them in the line equation and calculate the values of y.
for x = 0:

for x = 1:
