It would be $5 a burger if they waste the other 4 buns in the package. They got 4 patties and 8 buns.
If they get another 4 patties it would be $28 total and about $3.50 per burger and slice of danish. Which is relatively cheap for everything they got. Throw in a head of lettuce, a tomato, and an onion and it might cost an extra $2 total to dress 8 burgers.