In order to find a nonlinear function that has a solution at (-2,6) we need to choose first a parent function that is no linear in this case, we will use
[tex]y=x^2[/tex]in order to know that the solution is (-2, 6) so if I introduce the value of x coordinate which is -2 in the function we need to have as result 6
In this case, taken the parent function above and in order to have the desired result we have the next calculations
[tex]\begin{gathered} 6=(-2)^2+2 \\ 6=4+2 \\ 6=6 \end{gathered}[/tex]so the function that has a solution (-2,6) and is no linear is
[tex]y=x^2+2[/tex]