From the first equation, we can rearrange to get x = 12 + y.
Substituting that into the second equation, we get y^2 = 5(12 + y - 2) = 50 + 5y.
This simplifies to y^2 - 5y - 50 = 0.
Using the quadratic formula, we can solve for y to get y = 10 or y = -5.
Therefore, two possible values of y are 10 and -5.