Answer:
To raise exactly $240, the charity needs to sell 20 snacks.
Explanation:
Let
s = number of seats sold
y = number of snacks sold
Seats cost $24 each, then s seats cost $24s.
Snacks cost an additional $6 each, then y snacks cost $6y.
In total, s seats and y snacks cost $(24s+6y).
The charity needs to raise $240 to consider this event a success, so

If 5 seats are sold, then

To raise exactly $240, the charity needs to sell 20 snacks.
To solve this problem graphically, plot the graph of the line
and find on this line point with s-coordinate 5. This is exactly point (5,20), so the charity needs to sell 20 snacks.