We can start by rearranging the first equation to solve for x:
y = x^2 + 2x
y - x^2 = 2x
y/x - x = 2
x = y/x - 2
Now we can substitute this expression for x into the second equation:
y = 3x + 20
y = 3(y/x - 2) + 20
y = 3y/x - 6 + 20
y = 3y/x + 14
y(x) = 3y + 14x
x = (y - 3y)/(14)
x = -2y/14
Simplifying further:
x = -y/7
Now we have expressions for both x and y in terms of the other variable. We can substitute either expression into one of the original equations to solve for the value of that variable. Let's use the first equation:
y = x^2 + 2x
y = (-y/7)^2 + 2(-y/7)
Multiplying both sides by 49 to get rid of the fraction:
49y = y^2 - 14y
y^2 - 63y = 0
y(y - 63) = 0
So either y = 0 or y = 63.
If y = 0, then from our expression for x:
x = -y/7 = 0
So one solution to the system is (0, 0).
If y = 63, then from our expression for x:
x = -y/7 = -9
So another solution to the system is (-9, 63).
Therefore, the system has two solutions: (0, 0) and (-9, 63).