Let S(t) = lbs of salt in the tank at time t. Based on the information given, I obtain the differential equation
dS(t)/dt + {4/(90 + t)}S(t) = 10 being a first order DE, you can use the standard integrating factor to obtain
∫ d(S(t)exp(4Ln(90+t)) = ∫ 10exp(4Ln(90+t) dt
If you integrate from t=0 to t=30 minutes you obtain 183.05 lbs of salt
30 minutes is when the tank is full since it rises 1 gal/min giving 30 minutes to full
However, the problem asks for the salt at 40 minutes
That result is 218.65 lbs of salt if the tank could hold it?