Slope-intercept form: y = mx + b
(m is the slope, b is the y-intercept or the y value when x = 0 --> (0, y) or the point where the line crosses through the y-axis)
Since you know:
m = -2
b = 5 Substitute/plug it into the equation
y = mx + b
y = -2x + 5