Explanation:
2x+y=8
-2x+8: - x-8/2
m= -2
-----------------------------------------------------------------------------------------------
y=5x-6
5x-6: x+6/5
m=5
Visit symbolab, it a website that helps and shows step by step in any math equation you need help on :) (it's a step by step calculator)