When solving show how to solve for X and Y individually then together.Given −x^2−4y+6xevaluate when, x=−2 and y=3

So we need to evaluate this expression:
[tex]-x^2-4y+6x[/tex]In x=-2 and y=3. So we just need to replace x and y with -2 and 3:
[tex]\begin{gathered} -x^2-4y+6x=-(-2)^2-4\cdot3+6\cdot(-2) \\ -(-2)^2-4\cdot3+6\cdot(-2)=-(-2)\cdot(-2)-12-12 \\ -(-2)\cdot(-2)-12-12=-4-12-12=-28 \end{gathered}[/tex]Then the answer is -28.