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