The cost to rent the trucks is fixed, it doesn't depends on the amount of sugar. While the cost for each ton depends linearly. So the equation is:
To calculate the cost to transport 13 tons of sugar, we just substitute S for the value (13):
The cost to transport 13 tons of sugar will be $6450.