Answer:
We can denote the situation as :

Explanation:
Given table is ;
6 36
7 42
8 48
b ----
Let the bagels in any number of half dozen be denoted by b.
Let the total number of bagels be x
We can denote the situation as :

here when b = 7, we get x = 42
when b = 8, we get x = 48