Answer:
- cost per hamburger = $8
- cost per hotdog = $4
The rate of change, aka slope, represents the cost per food item.
==========================================================
Explanation:
We can use the slope formula
![m = (y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/cl4nhebfqz6g9ki6krlp54t4yvqphlv4qr.png)
Pick any two rows in the table. Let's say we go for (1,8) and (2,16)
The slope through those points is...
![m = (y_2-y_1)/(x_2-x_1)\\\\ m = (16-8)/(2-1)\\\\ m = (8)/(1)\\\\ m = 8](https://img.qammunity.org/2023/formulas/mathematics/high-school/rex319duu93nxun12i85nkfph2adbzg8l1.png)
You'll get the same value for any other two rows as well.
This slope is the unit rate which is the cost per hamburger.
Or you could simply look at the row that has (x,y) = (1,8) to see this unit cost really quickly without having to do any math at all. This works because the line y = 8x goes through the origin.
---------------
The hot dogs will follow the same calculation. Pick any two points, find the slope, and that slope is the unit rate aka unit price.
You should find the unit price is $4.
Note how (1,4) is a point on the blue line. So we have a similar situation to the hamburgers. This line y = 4x also goes through the origin.