Algebra Level 2

Cody gets $$x$$ candies and Jack gets$$y$$ candies. If $$x=ay^2+ay-11$$, and $$ax^2+ax-2=0$$, find the value of $$y$$.

Take $$a, x, y$$ as real integers.

×