A)

B)

C)

Step-by-step explanation:
A)
First of all, the capacitance of a parallel-plate capacitor filled with air is given by
(1)
where
is the vacuum permittivity
A is the area of the plates
d is the separation between the plates
The energy stored by a capacitor is given by
(2)
where
C is the capacitance
V is the potential difference across the plates
Substituting (1) into (2), we find an expression of the tenergy stored:

B)
In this part of the problem, the capacitor is disconnected from the battery.
This means that now the charge on the capacitor remains constant. The charge can be written as

Since the charge is the same as in part A), we can write it explicitely:
(1)
We can write the energy stored in the capacitor using another equation:
(3)
In this case, the distance between the plates is increased to 3d, so the new capacitance is
(2)
Substituting (1) and (2) into (3), we find the new energy stored:

3)
In this case, the capacitor is reconnected to the battery, so the potential difference is now equal to the initial potiential difference V.
In this case, however, a dielectric plate is moved inside the space between the plates. Therefore, the capacitance becomes

where
k is the dielectric constant of the dielectric material
To calculate the energy stored, we can use again the original formula

And substituting C and V, we find
