Given the information on the problem, we have the following function:

where 'x' represents the numer of cartons of eggs.
Notice that this is a real function, but it can only take integer values. Therefore, the practical domain of the function f(x) is positive integers