c is the unknown variable we are trying to solve for in this question.
We know that when x= -1, y=3.
Let's plug in those two values in order to solve for c
3 = c - (-1)² - 2(-1)
Let's flip this so we have the unknown variable on the left side of the equation.
c - (-1)² - 2(-1) = 3
Simplify
c - 1 + 2 = 3
Simplify again
c + 1 = 3
Subtract 1 from both sides
c = 2
Your answer is D.
Have an awesome day! :)