To write the equation of a line in slope-intercept form, we use the formula:
\[ y = mx + b \]
where \( m \) is the slope and \( b \) is the y-intercept.
Given:
- Slope \( m = \frac{4}{5} \)
- Y-intercept \( b = 2 \)
Substituting these values into the equation:
\[ y = \frac{4}{5}x + 2 \]
Thus, the equation of the line is:
\[ y = \frac{4}{5}x + 2 \]