I think we're missing part of your question. The expression for cost for the first company will be:
5995 + 175.5x, where x is the number of tons of sugar
and the expression for the cost for the second company is:
6500 + 150.25x
Please feel free to comment with the rest of the question and I'll happily help if I can.