For linear regression with one variable, the prediction of the model for an example is represented as:

This is the equation for a line, with an intercept and a slope