Let
x-------> the number of dinner
y-------> the number of lunch
we know that
-------> equation A
------> equation B
Substitute equation B in equation A
![8[y]+5y \leq 42](https://img.qammunity.org/2017/formulas/mathematics/high-school/in99wgjpm55tz2lb1ipajifs98bhrxo3r5.png)



so
the greatest number of lunch is


Hence
the greatest number of dinner is

therefore
the greatest number of meals is

the answer is
