y= number of muffins
x= years passed
2015-2010 = 5 years (y2)
point 1 (x1,y1) = (0,5800)
Point 2 (x2,y2)= (5,7420)
Apply the slope formula (m):

Replace:

Slope= 324
Slope intercept form:
y=mx+b
Where:
m: slope
b= y-intercept
y-intercept is the point where the function crosses the y-axis (0,5800)
b=5800
Final expression:
y= 324x+5800