Hamburgers = h
Cheeseburgers = c
c = h + 54
h = h
The word problem states there was a total of 804 burgers sold, so this means we have to set up an algebra equation. See example below:
![c + h = 804](https://img.qammunity.org/2019/formulas/mathematics/middle-school/uze8nq83z9qht5dncineq3193u6g9d3aud.png)
Now let's plug in the value of c:
![h + 54 + h = 804](https://img.qammunity.org/2019/formulas/mathematics/middle-school/g6gmop43dg5i8hau885zdwwiwmchwbavjq.png)
Combine like terms:
![2h + 54 = 804](https://img.qammunity.org/2019/formulas/mathematics/middle-school/5i0e8wz9kvw7ey4seaucq2370xcda75p72.png)
Isolate variable h:
![2h = 804 - 54](https://img.qammunity.org/2019/formulas/mathematics/middle-school/zybrme6kddv3alj2fxbsw979vflk0of5du.png)
![2h = 750](https://img.qammunity.org/2019/formulas/mathematics/middle-school/jpgzut9vkxfwwifon1w0bnvmqqk6ax468t.png)
Once again, isolate h:
![(2h)/(2) = (750)/(2)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/mflh3l3smwcaj9x2i3rai7t10hjv9lu7hh.png)
h = 375.
Check your work and plug in values:
![2(375) + 54 --> 750 + 54 = 804](https://img.qammunity.org/2019/formulas/mathematics/middle-school/7a7nmfno66pxj0cynxtjr54zhp7k9uccip.png)
There were 750 hamburgers sold.