Answer:
The total bill was $84
Step-by-step explanation:
Ok so we know a few things, we know that the total cost of the bill is divisible by both 6 and 4, and we know that if we call the total cost of the bill x and the amount each person would pay if it was divided for 6 people y we can write these equations:
[tex]\frac{x}{6}=y[/tex]
[tex]\frac{x}{4}=y+7[/tex]
Now we can substitute the first equation into the second and solve for x
[tex]\frac{x}{4}=\frac{x}{6}+7\\\frac{x}{4}-\frac{x}{6}=7\\\frac{x}{12}=7\\x=7*12=84[/tex]
Therefore, the total bill was $84