. metals react with acids to give hydrogen gas and salts. Write the equations for the reactions of magnesium and aluminum with hydrochloric acid.?