When a dielectric of dielectric constant K is inserted between the plates of a capacitor C0, the capacitance becomes KC0.
Energy stored in a capacitor is given by, U=21CV2. Now,
Ui=21(K1C0)V2 and Uf=21(K2C0)V2
⇒ΔU=Uf−Ui=21(K2−K1)C0V2
Percentage change in the energy will be,
UiΔU×100=21×10×C0221×5×C02×100=50