The equation of a line is y = mx + b, where m is the slope and b is the y-intercept. We are given m = -3. Hence:
y = -3x + b
To find b, plug in the x and y values of the given point, (2,1):
1 = -3(2) + b
1 = -6 + b
7 = b
y = -3x + 7