we multiply (-2) in first equation>>> -6x-14y=-10
now we have :
-6x-14y= -10
6x+y=5
now we plus this two equation:
-6x+6x-14y+y= -10+5>>>-13y= -5>>>y=5/13
now for x we put y in one of equations:
6x+5/13 =5>>>6x=60/13>>>x=10/13
3x+7y=5(1);6x+y=5(2)
Mul (2) by 7 we get 42x+7y=35(3)
then 3-1=39x=30
x=30/39=10/13
put x=10/13 in (2) we get
6*10/13+y =5
60/13+y=5
y=5-60/13
y=5/13 (x,y)=(10/13,5/13)
To solve for x, you may subtitute the value of y (5/13) to either of the two equations... But it is better to subtitute that to equation 2 (but subtituting to eq. 1 will also work)
To equation 2:
6x + (5/13) = 5
Multiply the whole equation to 13 to avoid working with fractions...
78x + 5 = 65
78x = 65 - 5
78x = 60
x = 60/78 or 30/39