use the substitution method to solve the system of equations. choose the correct ordered pair.

x+2y=12
y=x+3

a(5,8)
b(2,5)
c(2,1)
d(5,2)

To use the substitution method to solve the system of equations, we need to solve one equation for one variable and substitute it into the other equation. Let's solve the second equation for y:

y = x + 3

Now substitute this expression for y in the first equation:

x + 2(x + 3) = 12

Simplify the equation:

x + 2x + 6 = 12
3x + 6 = 12
3x = 6
x = 2

Now substitute the value of x back into the second equation:

y = 2 + 3
y = 5

The correct ordered pair is (2, 5), so the answer is:

b(2,5)