The volume of the solution in the tank is

and so the solution will overflow when

. This happens at

.
Now the rate of change of the amount of salt in the tank at time

,

, is described by


which is linear in

. Multiplying both sides by

, we have




There are 20 lbs of salt in the tank at the start, so

and we get that

so that the amount of salt in the tank is given by the function

At

, the tank contains

pounds of salt.