Integrating linearly I came across this question and just want to make sure my understanding is correct. 
I need to find the general solution of:
$$
\frac{dx}{dt} = a(1 - x)
$$
In this case, I'm finding the how $x$ changes with respect to $t$ so I'm integrating with respect to $t$. Does that mean the answer is $at - xat + C$? 
Thanks :) 

You can't say that, simply because the function $x$ has a dependence in $t$ ! 
