Identify the difference in energy release of two different earthquakes given their magnitudes

Identify the difference in energy release of two different earthquakes given their magnitudes