This is a kind of standard mixing problem that basic differential equations can be used to solve. It's not an entirely realistic model, since you will need to assume that when salty water goes in the tank, that it instantly homogenizes throughout the tank rather than introducing a slowly growing salty cloud. But anyway, this is how it's done:
Introduce a quantity $A(t)$ that changes over time - $A(t)$ is the amount of salt (in kg) that is in the tank at time $t$.
There are only two factors that cause $A$ to change. $A$ is motivated to increase over time because of the salty input. $A$ is motivated to decrease over time because of the mixture leaking out. All together, $ \begin{align*} \frac{dA}{dt} & = \mbox{rate in} - \mbox{rate out}\\ \end{align*} $ Now, the units everywhere in that equation are kg/min. This helps you translate "rate in" and "rate out".
The "rate in" needs to be the rate of the volume of brine going in (in L/min), multiplied by the concentration of that brine (in kg/L). Both of these are constant as time changes, so "rate in" is constant.
The "rate out" needs to be the rate of the volume of liquid coming out (in L/min) multiplied by the concentration of that liquid (in kg/L). This time however, the concentration is changing over time. In fact, it is $\frac{A(t)}{V(t)}$ where $V(t)$ is the volume of liquid in the tank at time $t$. $V(t)$ is a linear function. If the volume of liquid flowing in per minute equals that which is flowing out, then $V(t)$ is just a constant function.
This should all leave you with a differential equation like $\frac{dA}{dt}=c_1+\frac{c_2A}{c_3+c_4t}$