The number 8 in this context represents the number of burger meals bought by the Johnsons.
The number 6 in this context represents the number of hot dog meals bought by the Johnsons.
To determine who got the better deal, we can compare the total cost of meals for both families. Since the Johnsons spent $46 and the Wilsons spent $52, the Johnsons got the better deal in terms of cost.