The intensity (I) of each earthquake was different. Let I1 represent the intensity the early earthquake and I2represent the latest earthquake.
What you are looking for is the ratio of the intensities: $displaystyle frac{I_{1}}{
I_{2}}.$ So our task is to isolate this ratio from the above given information using the rules of logarithms.