Hi, can you explain how i might solve this problem?

A tank initially holds 100 litres of water. A sugar solution containing 0.2 kg per litre is being run into the tank at 3 litres per minute. The liquid in the tank is being continuously stirred and, at the same time, liquid from the tank is being pumped out at 2 litres per minute. If there are kg of sugar dissolved in the solution after minutes, then is equal to:

Apparently the answer is:

But i dont know how they got it.