@MattySlam,
1) on an x/y ncoordinate plot the number of eggs (y) as the ordinate and the price per dozen (x) as the abscissa.
2) from the scatter plot see if there is a line that roughly fits the scatter plot.
3) using least square determine the best fit line (y=mx+b) correlation between the variables. Plot this line on the scatter graph.
4) calculate the Pearson's product of this correlation , this is a measure of the fit of the regression.
5) the slope is the value of m in the correlation.
6) the intercept is the value of b
7) y=mx+b
Rap