Solve the system by substitution: 3x+10y=31 2x+10=y

We can solve the system of equations by substitution. We start by solving the second equation for y:

2x + 10 = y

Next, we substitute this value of y into the first equation:

3x + 10(2x + 10) = 31

Simplifying, we get:

3x + 20x + 100 = 31

Combining like terms, we have:

23x + 100 = 31

Subtracting 100 from both sides, we get:

23x = -69

Dividing both sides by 23, we find:

x = -3

Now, we substitute this value of x back into the second equation to solve for y:

2(-3) + 10 = y

Simplifying, we get:

-6 + 10 = y

y = 4

Therefore, the solution to the system of equations is x = -3 and y = 4.