In steady state, current through capacitor will be zero, so current through r1 will be zero.
Hence, the net current flowing in the circuit will be,
I=r+r2E
The potential difference across the capacitor will be,
V2=I×r2=r+r2Er2
Therefore, charge on the capacitor plate will be,
q=CV2=r+r2CEr2
