The equation of a line in slope-intercept form is given by the formula:
\[ y = mx + b \]
where \( m \) is the slope and \( b \) is the y-intercept.
Given that the slope \( m \) is \(-3\) and the y-intercept \( b \) is \(12\), we can substitute these values into the formula:
\[ y = -3x + 12 \]
So, the equation of the line in slope-intercept form is:
\[ y = -3x + 12 \]