Let $a,b,c$ be integers, with $a$ and $b$ relatively prime. Then $$ a\mid bc\implies a\mid c. $$
The proof starts as follows:
Let $x,y\in\mathbb Z$ with $xa+yb=1$. From $a\mid bc$ we get $a\mid xac+ybc=\dots$
I can follow the rest of the proof. However, I don't understand why $$ a\mid bc\implies a\mid xac+ybc. $$ I can see that $a\mid bc\implies a\mid ybc.$ But How do they get $xac$?