For Q1, you have to set these equations equal to each other because it is asking how much of x is necessary to make the same amount of y, so:
3995 + 225.50x = 6500 + 100.25x
solve for x:, and get x=20
so 20 tons of sugar will give the companies the same cost.
For Q2: you need to plug in x=20 into either one of the original equations, and solve for y because this will give you the cost of transportation, so:
y= 3995 + 225.50(20)
y=$8,505 for the total cost