Answer:
C(p) = 0.25p + 5
Explanation:
$5 is the amount of money you have to pay when you don't get a pumpkin (a pumpkin that's 0 lbs), so the y-intercept is 5. 0.25 is the rate at which the price increases as the weight increases, so the slope is 0.25.
m = slope, b = y-intercept
C(p) = mp + b
C(p) = 0.25p + 5