First Order Transient Circuits

How to solve a simple circuit with a capacitor or inductor. Using linear first order differential equations with constant coefficients