Eric has a limit of calories of:

The value of calories Eric eats in that day is given by:

Where "x" is the value of the calories he can still eat. The inequality is:

To solve it we need to break it into two inequalities.

We need to solve them individually.


The result is:

Eric can eat between 750 and 2250 calories on that day.