State and explain how the rate of reaction changes over time as the magnesium ribbon reacts with the dilute hydrochloric acid.