y = mx + c describes every straight line that is not vertical: m is the gradient and c is the y-intercept. Six worked examples follow.