Given:
Basketball game costs $8 for every 2 tickets.
[tex]\begin{gathered} \text{Cost of one ticket =}\frac{8}{2} \\ =\text{ \$4} \end{gathered}[/tex]
Let y be the cost of the ticket and x be the number of tickets.
[tex]y=4x[/tex]
When x=3,
[tex]\begin{gathered} y=4(3) \\ y=12 \end{gathered}[/tex]
When y=20,
[tex]\begin{gathered} 20=4x \\ x=\frac{20}{4} \\ x=5 \end{gathered}[/tex]
When x=7,
[tex]\begin{gathered} y=4(7) \\ y=28 \end{gathered}[/tex]
When y=40,
[tex]\begin{gathered} 40=4x \\ x=\frac{40}{4} \\ x=10 \end{gathered}[/tex]