The magnitude 7 earthquake is 100 times as strong as the magnitude 5 earthquake. The 100 comes from the increase in the scale from 5 to 7, which is an increase of 2, so you multiply the strength of the weaker earthquake by 10 7 - 5 = 10 2 = 100, and that gives you the strength of the stronger earthquake.