Answer:
Step-by-step explanation:
The problem statement tells you the definitions of the variables, and that cost depends on the number of friends. Thus cost (C) is the dependent variable, and the number of friends (F) is the independent variable.
cost = $20 + $3 × (number of friends)
C = 20 + 3F
You can make a table by doing the calculations for F = 5, 6, ..., 12. This can be made easier if you realize that each friend above 5 adds $3 to the cost.