(i) Salt at the start =20% of 400=80 g. After adding 50 g, the salt is 80+50=130 g. The total mass is 400−x+50=(450−x) g, which is positive.
(ii) The salt fraction 450−x130 must be from 0.3 to 0.4. Since 450−x>0, multiplying by it keeps the signs:
0.3(450−x)≤130≤0.4(450−x)
Left part: 135−0.3x≤130, so 0.3x≥5 and x≥350.
Right part: 130≤180−0.4x, so 0.4x≤50 and x≤125.
So 350≤x≤125. (The solution held 400−80=320 g of water, so up to 125 g can be removed.)
(iii) After t minutes, x=5t. Then 350≤5t≤125 gives 310≤t≤25. The heating must be stopped between 331 minutes (3 minutes 20 seconds) and 25 minutes after it starts.