Final answer:
Giovanni collected 10 five-dollar bills by setting up and solving the equation 5x + (x + 18) = 78, where x represents the number of five-dollar bills. The one-dollar bills were 18 more than the five-dollar bills, adding up to $78 in total ticket sales.
Step-by-step explanation:
To solve this problem, let us denote the number of five-dollar bills Giovanni has as x. Then the number of one-dollar bills would be x + 18. To find out how many five-dollar bills Giovanni collected, we can set up an equation based on the total value of the bills.
Each five-dollar bill is worth $5, so the total value of the five-dollar bills is 5x. Each one-dollar bill is worth $1, so the total value of the one-dollar bills is x + 18. The sum of these two amounts equals the total value of tickets sold, which is $78.
So, the equation to solve is:
5x + (x + 18) = 78
Combining like terms, we get:
6x + 18 = 78
Subtracting 18 from both sides gives us:
6x = 60
Dividing both sides by 6, we find:
x = 10
This means Giovanni collected 10 five-dollar bills.