Capacitor switch problem

Question

Hints

Answer