Explanation:
The reaction equation will be as follows.

It is given that mass of magnesium hydroxide is 400 mg or 0.4 g (as 1 g = 1000 g). Molar mass of
is 58.31 g/mol.
Therefore, calculate the number of moles of
as follows.
No. of moles = 
= 
=
mol
= 0.00685 mol
Now, moles of HCl = 2 × moles of 
= 2 × 0.00685 mol
= 0.0137 mol
Concentration of HCl =
=
= 0.0398 M
Now, we will calculate the volume of HCl as follows.
Volume of HCl =
= 
= 0.344 L
or, = 344 ml (as 1 L = 1000 ml)
Thus, we can conclude that 344 ml of an HCl solution with a pH of 1.4 can be neutralized by one dose of milk of magnesia.