Answer:
When we have a function y = f(x)
The set of the possible values of x is called the domain, and the set of the possible values of y is called the range.
In this case, we have:
x = age, and y = price.
x y
< 5 $0
5 - 17 $25
18 - 64 $40
≥ 65 $35
Then the range is the possible age of the customer, and it goes for all the possible ages (as whole numbers)
So the domain will be the set of all the positive integers:
D = {1, 2, 3, 4, 5, ...}
(of course, we can not have an age equal to 1300 or infinity, but we really can not cap the domain)
The range is the possible values of y, in this case is discrete, because we have only 4 possible prices, so the range is:
R = {$0, $25, $40, $35}