I have to solve the following system of equations:
$x^2 + 4y + 2 = 22$
$2y^2 + x + 6 = 40$
I tried to solve for one variable and then substitute it into the other equation, but a problem appears:
$y = \pm \sqrt{18 - \frac{x}{2}}$
And so:
$x^2 \pm 4\sqrt{18 - \frac{x}{2}} +2 = 22$
In order to keep solving this, I need to square both sides of the equation, what means a 4th grade equation, which I am unable to solve.
Is there any other way to solve this?