When a line is represented in the slope intercept formula as in the question you must remember that it is always set up like so...
y = mx + b
m is the slope and b is the y-intercept of the line
Since in the equation y = -3x + 1 the m is -3 then the slope is -3
Hope this helped!
~Just a girl in love with Shawn Mendes