Brilliant! $$A_y$$ is negative. So, wherever you find $$A_y$$, replace it with its value. Also, if there are other operations on $$A_y$$, like squaring it, etc, use brackets around $$A_y$$.