$(A)YZ\rightarrow P$
$B_{2}C_{2}\rightarrow D_{1}$
$B_{2}C_{2}\rightarrow D_{4}$
Not possible.
$(B)Y\rightarrow X$
$B_{2}\rightarrow A_{2}$
$B_{2}\rightarrow A_{3}$
Not possible.
$(D)ZP\rightarrow Q$
$C_{1}D_{1}\rightarrow E_{1}$
$C_{1}D_{2}\rightarrow E_{1}$
$C_{2}D_{1}\rightarrow E_{2}$
$C_{2}D_{4}\rightarrow E_{2}$
It is possible for given instances.