

Lets solve this by substitution.
Lets plug in y=x-5 into 3x+y=7
So:


Plugging it in:

Solve for x by simplifying that:


Add 5 on both sides

Divide by 4 on both sides

Now simply plug x=3 back into any equation and solve for y
So:


Simplify that:

So we are left with our final answer which is
