Prove $a|(bc)$ if and only if $a|b$ and $a|c$
My attempt is proving the converse first so if $a|b$ and $a|c$ then $a|bc$
So since $a|b$ and $a|c$ then $b=ax$ and $c=ay$ for some integers $x$ and $y$.
So $bc=a(xy)$ therefore $a|bc$. Now the forward direction if $a|bc$ then $bc=az$ for some integer $z$. Letting $z=xy$ implies that $bc=(ax)(ay)$ so $b=ax$ and $c=ay$ thus $a|b$ and $a|c$. I'm not confident with the forward direction.