I have a questions about the article Particle decay two-body decay.
$$|\vec{p}_1| = |\vec{p}_2| = \frac{[(M^2 - (m_1 + m_2)^2)(M^2 - (m_1 - m_2)^2)]^{1/2}}{2M}$$
$$(M, \vec{0}) = (E_1, \vec{p}_1) + (E_2, \vec{p}_2)$$
In spherical coordinates
$$d^3 \vec{p} = |\vec{p}\,|^2\, d|\vec{p}\,|\, d\phi\, d\left(\cos \theta \right)$$
I wanted to know how using delta function to perform $d^3\vec{p_{2}}$ and $d |\vec{p_{1}}|$ was calculated $d\Gamma$, which is equal to
$$d\Gamma = \frac{ \left| \mathcal{M} \right|^2}{32 \pi^2} \frac{|\vec{p}_1|}{M^2}\, d\phi_1\, d\left( \cos \theta_1 \right)$$
How then integrate to calculate decay width $\Gamma$? I'll be grateful for step by step explanation.