Answer:
See below
Explanation:
If we know that each coffe is sold for $3.50, the function can be written using the following form:

Where Y=amount of money earned, and X=number of coffes ordered.
The domain are the possible values for X. In this case, the domain can be written as:
, as we know that eight people have bought coffe, and the function exists only when the number x is positive (as there can't be a negative number of coffes ordered), from 0 to 8.
The range are the possible numbers for Y. In this case, if 8 coffes are ordered, then the maxium value of Y is:


So the range can be written as:
