Answer:
x=-1 and y=4
Step-by-step explanation:
y=-3x+1
2x+5y=18
Put x and y on the same side for 1st equation
3x+y=1
2x+5y=18
Multiply top by -5
-15x-5y=-5
2x+5y=18
Add both equations onto each other
-13x=13
x=-1
Plug x=1 into any equation used
2(-1)+5y=18
-2+5y=18
5y=20
y=4