Answer
+4
Work Step by Step
COCl2. Oxygen is -2 and since we have Cl-, the oxidation number is the same as the charge on the ion, which is -1 for Cl. Since we have 2 of them then we have -2.
So far we have -2 (from Oxygen) - 2 (from the two Cl-).
The sum of all the oxidation numbers must be 0 since the molecule is uncharged so we have:
x -2 -2 = 0
x = +4