Step 1: Understand the question.
A circular loop encloses two wires carrying $5\ \text{A}$ and $2\ \text{A}$ in opposite directions. A third wire of $3\ \text{A}$ lies outside the loop. We must find the value of $\oint \vec{B}\cdot d\vec{l}$ around the loop.
Step 2: State Ampere's law.
Ampere's circuital law says the line integral of the magnetic field around a closed loop equals $\mu_0$ times the net current passing through the loop:
\[ \oint \vec{B}\cdot d\vec{l} = \mu_0\, I_{\text{enc}} \]
Step 3: Decide which currents count.
Only the currents that pass through the loop matter. The $3\ \text{A}$ wire is outside the loop, so it does not count at all.
Step 4: Add the enclosed currents with signs.
The $5\ \text{A}$ and $2\ \text{A}$ wires point in opposite directions, so we subtract them:
\[ I_{\text{enc}} = 5 - 2 = 3\ \text{A} \]
Step 5: Put into the law.
\[ \oint \vec{B}\cdot d\vec{l} = \mu_0 \times 3 = 3\mu_0 \]
Step 6: Write the answer.
The value of the integral is $3\mu_0$. This matches option (3).
\[ \boxed{\oint \vec{B}\cdot d\vec{l} = 3\mu_0} \]