I am trying to figure out how to solve:
Find $x, y \in \mathbb{Z}$ such that $$2x+y\equiv 4\pmod{17}$$ and $$5x-5y\equiv 9\pmod{17}.$$
I know this means $2x+y-4$ and $5x-5y-9$ are multiples of $17$, but I can't figure out how to solve the problem from there.
Thanks for your help!
$y\equiv4-2x\pmod{17}\ \ \ \ (1)$
$$5x-5y\equiv5x-5(4-2x)\equiv15x-20$$ So, $15x-20\equiv9\pmod{17}\iff15x\equiv29\equiv12\pmod{17}$
As $(17,3)=1,$ $$5x\equiv4\pmod{17}\equiv4-34$$
As $(17,5)=1,$ $$x\equiv-6\equiv11$$
Now use $(1),$ to find $y$