Step 1: Understanding the Concept
The sum of oxidation numbers of all atoms in an ion equals the charge on the ion.
Step 2: For phosphorus in PF6-
Let the oxidation number of P be \(x\). Then \(x + 6(-1) = -1\), so \(x = +5\).
Step 3: For vanadium in V2O7 4-
Let that of V be \(y\). Then \(2y + 7(-2) = -4\), so \(2y = 10\) and \(y = +5\).
Step 4: Compare the options
Both are \(+5\), which is option (B).
Final Answer:
The oxidation numbers of P and V are +5 and +5 respectively.
\[ \boxed{\text{(B) }+5\ \text{and}\ +5} \]