The formula to calculate the capacitance of a parallel plate capacitor having thickness and with a dielectric of thickness between the plates is given by
Substitute the values of the parameters for first case into equation (1) to obtain the capacitance.
Similarly, substitute the parameters into equation (1) for the second case to obtain the capacitance
Divide equation (3) by equation (2) to obtain the capacitance in the second case.
Substitute the value of the capacitance in the first case into equation (4) to obtain the value of the capacitance in the second case.