Answer:
The total bill was $84
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:
![(x)/(6)=y](https://img.qammunity.org/2021/formulas/mathematics/high-school/xgc6ytgsz5ooeyw6fycmh4ka6w200r8rcg.png)
![(x)/(4)=y+7](https://img.qammunity.org/2021/formulas/mathematics/high-school/hkqo40auhntd3wcmmmj86fvf0jdkt006fz.png)
Now we can substitute the first equation into the second and solve for x
![(x)/(4)=(x)/(6)+7\\(x)/(4)-(x)/(6)=7\\(x)/(12)=7\\x=7*12=84](https://img.qammunity.org/2021/formulas/mathematics/high-school/gdq02e1o222e2anmuj07lh80mzuvqmnfne.png)
Therefore, the total bill was $84