It says it has been
opened for a long time
Try writing out Kirchoff's voltage law for the loop at the right. Now try writing out the law if the loop was completely separate from the rest of the circuit. (Hint: the two equations should be identical)
For the loop on the right, I denote I
2 and the one on the left I
1
http://img687.imageshack.us/img687/4417/98175083.th.png
Uploaded with
ImageShack.us
-I_2 R_2 - q/C = 0
\varepsilon - I_1 R_1 = 0
I have qualms about the one on the right because I have a negative number equal to a positive number...
When the circuit charges up, the top of the capacitor becomes positive and the bottom becomes negative, because the top is connected to the positive side of the battery.
However, you don't need to do any of this calculus. At t=0, you know that the capacitor's voltage is epsilon, the battery's emf. Since the switch is closed, you can treat the left and right loops as completely separate. If you do this, what do you get for the current flowing through the two loops? Add them together, taking direction into account, and you'll get the answer.
Since my answer for the previous one is wrong, I'll continued from my calculus and I got
q(t) = e^{\frac{-t}{C(R_1 + R_2)} - \varepsilon c
q'(t) = -\frac{1}{C(R_1 + R_2)}e^\frac{-t}{C(R_1 + R_2)}