Let be the amount of salt in tank 1 at time , and the amount of salt in the tank 2.
The volume of solution in either tank stays constant. In tank 1, at time (min) we have
In tank 2,
Then the concentration of salt in tanks 1 and 2 at any given time is and .
The net rate of change of the amount of salt in tanks 1 and 2 follows a simple rule:
Each rate is in units of g/min. Each L coming in or going out contributes or removes some salt depending on the flow rate (L/min) and concentration (g/L) of the solution in either tank. For tank 1, we have
Then the amount of salt in tank 1 has rate of change (ignoring units)
A similar breakdown for tank 2 shows a rate of change of
In matrix form, the system is described by
You can solve this with the usual eigenvalue method and method of undetermined coefficients. You should get a general solution of
Then use the initial values and to solve for and find the particular solution.