Answer
$(a). DH$ is defined. View image below.
$(b).HD$ is undefined
Work Step by Step
$(a). DH$ can be performed view image below
$(b)$. $HD$ is undefined because, $H$ has dimensions $2×2$ and $D$ has dimensions $1×2$ so the columns of $H$ won't match the rows of $D$.