Answer:- 448 mL of hydrogen gas are formed.
Solution:- It asks to calculate the volume of hydrogen gas formed in milliliters at STP when 0.020 moles of magnesium reacts with excess HCl acid. The balanced equation is:

There is 1:1 mol ratio between Mg and hydrogen gas. So, the moles of hydrogen gas is also equals to the moles of Mg reacted.
moles of Hydrogen gas formed = 0.020 mol
At STP, volume of 1 mol of the gas is 22.4 L. We need to calculate the volume of 0.02 moles of hydrogen gas.

= 0.448 L
They want answer in mL. So, let's convert L to mL using the conversion formula, 1L = 1000mL

= 448 mL
So, 0.020 moles of magnesium would produce 448 mL of hydrogen gas at STP on reacting with excess of HCl acid.
What happened after that ? If you don’t mind me asking .
The answer <span>is <span>8.9 g/mL</span>.</span>
The density (D) is <span>equal to mass (m) divided by volume (V): D = m/V
Let's find the mass of the object:
m = 156 g - 105.5 g = 50.5 g
Let's find the volume of the volume:
V = 30.7 mL - 25 mL = 5.7 mL
The density is:
D = m/V = 50.5 g / 5.7 mL = 8.9 g/mL</span>
You should read up on Proust's law, better known as the Law of Definite Proportions. This is a chemical law that defines your question more generally, on why the ratio of elements and ions are always fixed.
Basically, this compound Magnesium(II) Chloride is MgCl2 because it has the same number of protons, neutrons, and electrons all the way. This defines the properties of the compound or atom.
Use PV = mRT/M and solve for R. R = PVM/RT. Since you have the same gas under two sets of conditions then you can write
<span>P1V1M1/m1T1 = P2V2M2/m2T2 </span>
<span>Since P, M and T are constant, the equation becomes </span>
<span>V1/m1 = V2/m2 </span>
<span>Now plug in your values and solve for V2</span>