Verified Answer :

\(x-y=5\\ -y=-x+5\\ y=x-5\)