y = cost (in $) X= linear feet

(0,150),(20,450)

what does the slope mean in this context

In this context, the slope represents the rate of change of cost with respect to the linear feet. More specifically, it tells us how much the cost increases or decreases for each additional linear foot.