It's hard to tell what you have done! You have a lot of parameters, called v1, c1, q1, q0 which you have not identified- very bad practice.
If you let X be the amount of salt in the vat at time t, with X measured in pounds and t measured in minutes, then dX/dt is how much salt enters of leaves the vat in pounds per minute. According to the information, 2 gallons of water enter the vat each minute, carrying 2 pounds of salt per gallon: that brings 4 pounds of salt in per minute. Since the same amount of water goes out, the total amount of water stays the same and the concentration is X(t)/80. That is, water leaves at 2 gallons per minute, carrying X/80 pounds per gallon: salt goes out of the tank at X/40 pounds per minute. Putting those together, dX/dt= 4- X/40= (160- X)/40. You have that equation but seem to have separated dX and dt in a rather peculiar way. It is true that dX= 4dt- (X/40)dt but I don't see any reason to do that. dX/dt=(160- X)/40 is a separable equation:
\frac{dX}{160-X}= \frac{dt}{40}[/itex]<br />
Integrating both sides, -ln(160-X)= t/40+ C or 160-X= ce^{-t/40} where c= e<sup>C</sup>.<br />
<br />
Since the tank originally contains only pure water, X(0)= 0 so 160- 0= c or c= 160.