Step 1: Rewrite in sine and cosine
Given $\sec 2\theta-\tan 2\theta=p$, that is $\dfrac{1-\sin 2\theta}{\cos 2\theta}=p$.
Step 2: Use the pair of relations
Subtracting the product identity gives $\sec 2\theta+\tan 2\theta=\dfrac{1}{p}$, and adding the two gives $\sec 2\theta=\dfrac{p^{2}+1}{2p}$.
Step 3: Half-angle step
$2\cos^{2}\theta=1+\cos 2\theta=\dfrac{(p+1)^{2}}{p^{2}+1}$, so $\cos^{2}\theta=\dfrac{(p+1)^{2}}{2(p^{2}+1)}$.
Final Answer:
Half-angle formula on cos 2theta gives (p+1)^2 over 2(p^2+1).
\[ \boxed{\text{(B) }\dfrac{(p+1)^{2}}{2(p^{2}+1)}} \]