substitution method

y=x+1
x+y=5

1 answer

y=x+1
x+y=5

x + x + 1 = 5

2x = 4

x = 2

y = 2 + 1
y = 3