On first week
Quantity of tomato = 25 tons
profit per ton = $250
So if she sells tomato on first week then total profit = 25 * 250 = $6250
On second week
Quantity of tomato =27 ton
profit per kg =$ 235
So if she sells tomato on second week then total profit =27* 235= $6345
On third week
Quantity of tomato = 29 ton
Profit per kg = $220
So if she sells tomato on third week then total profit = 29*220 = $6380
Now consider fourth week
Quantity of tomato =31 ton
Price per kg = $205
So if she sells tomato on fourth week then total profit =31*205 = $6355
so she must ship her tomatoes on third week i.e she will attain $ 6380 as profit.