y=3x+8, 5x+2y=5
substitute the value of y in the first equation into the scond and solve for x
5x+2(3x+8) =5
5x+6x+16 =5
11x = 5-16
11x=-11
x=-11/11 = -1
now substitute the found value for x back into either original equation
y=3x+8 or 5x+2y=5
y=3(-1)+8 or 5(-1)+2y=5
y= -3+8 or -5+2y=5
y=5 or 2y=5+5 =10/2= 5