To write the equation of a line using the slope-intercept form, which is given by the formula \( y = mx + b \), where \( m \) is the slope and \( b \) is the y-intercept:
Given:
- Slope (\( m \)) = -2
- Y-intercept (\( b \)) = 4
Substituting these values into the formula, we get:
\[ y = -2x + 4 \]
So, the correct equation of the line is:
y = –2x + 4