The total cost has two parts:
- a fixed one for the entry, $5
- a variable one, $1 per ticket.
If y is the total cost and x is the number of tickets, then y will be the sum of the fixed cost and the variable cost multplyied by the number of tickets, x.
That is, the equation is:
![\begin{gathered} y=1\cdot x+5 \\ y=x+5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/4mc362zoye0x3cbl523p7g0r7y0k79dhf6.png)
Using this equation, we can calculate y for each x in the table.
For x = 0:
![\begin{gathered} y=0+5 \\ y=5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/3qkkmvb24y4f5wmomssyvjgj3zyg848527.png)
For x = 1:
![\begin{gathered} y=1+5 \\ y=6 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/3jerp23hchkdi6dau3eduysfbl0n7m9u1r.png)
For x = 2:
![\begin{gathered} y=2+5 \\ y=7 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/vnl3digxcap9kfffb39pxhcttjpyprfisc.png)
For x = 5:
![\begin{gathered} y=5+5 \\ y=10 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/rgpd8xjwftql6g4fj9e5n8lwos59873za6.png)
So, the table is:
x | # tickets | 0 | 1 | 2 | 5
y | cost | 5 | 6 | 7 | 10
For the graph, we can plot at least two of these points and connect them to form a line: