Since C is the cost of the sugar transported
Since S is the amount of sugar transported, then
The domain is S
The range is C
Domain: the amount of sugar transported (in tons)
Range: the cost to transport sugar (in dollars)
Since the company can transport up to 40 tons of sugar, then
Domain: The set of all real numbers from 0 to 40
Since the range is the value of C, then if S = 0, then

The smallest value of C is $1500
Since the greatest value of S is 40, then

The greatest value of C is $6700
Then the range must be between 1500 and 6700
Range: The set of all real numbers from 1500 to 6700