A tank contains 1000 L of pure water. Brine that contains
0.05 kg of salt per liter of water enters the tank at a rate of
5 $\mathrm{L} /$ min. Brine that contains 0.04 kg of salt per liter of water
enters the tank at a rate of 10 $\mathrm{L} /$ min. The solution is kept thoroughly mixed and drains from the tank at a rate of15 $\mathrm{L} / \mathrm{min} .$ How much salt is in the tank (a) after $t$ minutes and (b) after one hour?