[tex]C=-\frac{1}{3}x+550[/tex]
1) We can begin by writing C as a function of x and find the slope between two points (300,450) and (150,500)
[tex]\begin{gathered} C=mx+b \\ m=\frac{y_2-y_1}{x_2-x_1}=\frac{500-450}{150-300}=\frac{50}{-150}=-\frac{1}{3} \end{gathered}[/tex]
2) Now that we know the slope, we need to find the linear coefficient (y-intercept), using one of those ordered pairs: (150,500)
[tex]\begin{gathered} 500=-\frac{1}{3}(150)+b \\ -\frac{1}{3}\left(150\right)+b=500 \\ -50+b=500 \\ b=550 \end{gathered}[/tex]
So the function is:
[tex]C=-\frac{1}{3}x+550[/tex]