The earthquake's magnitude and intensity both tell you how severe an earthquake may be. How are they different?

a)The intensity of an earthquake tells you how much damage has been caused, while the magnitude tells you how much energy has been released from the earthquake.

b)The magnitude tells you how much damage has been caused by the earthquake, while the intensity tells you how much energy was released by the earthquake.