To write the equation of a line given the slope \( m \) and the y-intercept \( b \), you can use the slope-intercept form of a linear equation:
\[ y = mx + b \]
Given that \( m = 1 \) and \( b = 4 \), you can substitute these values into the equation:
\[ y = 1x + 4 \]
This simplifies to:
\[ y = x + 4 \]
Therefore, the correct equation of the line is:
y = x + 4.