the table shows the cost of pizza based on the number of toppings .write a function to find the cost for pizza with x toppings

Answer:
[tex]f(x)=2x+10[/tex]
Step-by-step explanation:
The given tables shows a relation that can be transform into a function.
From the table we deduct that each toppings cost $2, because for 1 topping is $12, for 2 is $14, for 3 is $16, and so on. So, the ratio of change is
[tex]m=\frac{\Delta y}{\Delta x}=\frac{2}{1}=2[/tex]
Where [tex]y[/tex] represents the cost and [tex]x[/tex] represents the number of toppings.
Now, we use one pair from the graph (1,12), the ratio of change and the point-slope formula to find the function
[tex]y-y_{1}=m(x-x_{1})\\y-12=2(x-1)\\y=2x-2+12\\y=2x+10[/tex]
Therefore, the function that expresses the given situation is
[tex]f(x)=2x+10[/tex]
Where [tex]y=f(x)[/tex]