If A(t) is the amount of salt in the tank at time t, then A(0) = 50 g and
A'(t) = (1 g/L)*(3 L/min) - (A(t)/120 g/L)*(3 L/min)
Multiply both sides by
, so that the left side can be condensed as the derivative of a product:
Integrate both sides and solve for A(t).
Given that A(0) = 50 g, we have
so that the amount of salt in the tank at time t is