Em tham khảo nha:
\(\begin{array}{l}
a)\\
\text{ Tổng số hạt của P là 37}\\
\Rightarrow 2{p_P} + {n_P} = 37 \Rightarrow {n_P} = 37 - 2{p_P}\\
1 \le \dfrac{{{n_P}}}{{{p_P}}} \le 1,5 \Rightarrow 1 \le \dfrac{{37 - 2{p_P}}}{{{p_P}}} \le 1,5\\
\Rightarrow 10,57 \le {p_P} \le 12,33\\
T{H_1}:{p_P} = 11 \Rightarrow {n_P} = 37 - 11 \times 2 = 15\\
\Rightarrow {A_P} = 11 + 15 = 26\text{ (Loại)}\\
T{H_2}:{p_P} = 12 \Rightarrow {n_P} = 37 - 2 \times 12 = 13\\
{A_P} = 12 + 13 = 25\text{ (Nhận)}\\
\Rightarrow P:Magie(Mg)\\
KHHH:{}_{12}^{25}Mg\\
b)\\
\text{ Tổng số hạt của C là 38}\\
\Rightarrow 2{p_C} + {n_C} = 38 \Rightarrow {n_C} = 38 - 2{p_C}\\
1 \le \dfrac{{{n_C}}}{{{p_C}}} \le 1,5 \Rightarrow 1 \le \dfrac{{38 - 2{p_C}}}{{{p_C}}} \le 1,5\\
\Rightarrow 10,85 \le {p_P} \le 12,67\\
T{H_1}:{p_C} = 11 \Rightarrow {n_C} = 38 - 11 \times 2 = 16\\
\Rightarrow {A_C} = 11 + 16 = 27\text{ ( Loại)}\\
T{H_2}:{p_C} = 12 \Rightarrow {n_C} = 38 - 2 \times 12 = 14\\
{A_C} = 12 + 14 = 26\text{ ( Nhận)}\\
\Rightarrow C:Magie(Mg)\\
KHHH:{}_{12}^{26}Mg
\end{array}\)