Answer : The correct options are:
0 for Mg(s) and H in 
+1 for H in HCl
+1 for H in HCl
+2 for Mg in 
Explanation :
The given chemical reaction is:

Oxidation state of Mg(s) is, 0
Oxidation state of hydrogen in HCl is, (+1)
Oxidation state of chlorine in HCl is, (-1)
Oxidation state of Mg in
is, (+2)
Oxidation state of Cl in
is, (-1)
Oxidation state of hydrogen in
is, 0
The given reaction is a single displacement reaction in which the most reactive metal (Mg) displaces the least reactive element (H) from its compound.
It is also a redox reaction because the oxidation state of Mg changes from 0 to (+2) and shows oxidation and the oxidation state of hydrogen changes from (+1) to 0 and shows reduction.