Equation of a straight line

This diagram explains the interpretation of the slope and intercept of a straight line.

Drag the red arrows to move the line. The left arrow changes the intercept and the right arrow changes the slope.