Graph of f(x) = -2x + C passes through (-2,7)

How do I find C.
TIA

Since f(x) = 7 when x is -2,
7 = -2(-2) + C = 4 + C

C = 3

To find C, we can substitute the value of x (-2) and the corresponding y-coordinate (7) into the equation f(x) = -2x + C.

We have:

7 = -2(-2) + C

Now, let's simplify the equation:

7 = 4 + C

To isolate C, we can subtract 4 from both sides of the equation:

7 - 4 = C

C = 3

Therefore, the value of C is 3.