Every point on the curve C satisfies the equation. In order to show P lies on C, we need to test if either x- or y-coordinates satisfy the equation. It is easier to subsitute x=2 into the equation.
By doing so, this gives
y = (2)3 - 2 x (2)2 - (2) + 9
y = 7
As P's y-coordinate is also 7, therefore, P (2, 7) lies on the curve C.