\(A=\dfrac{n+2}{2n+4}=\dfrac{n+2}{2\cdot\left(n+2\right)}=\dfrac{1}{2}\)
\(B=\dfrac{2\dfrac{1}{2}}{5}=\dfrac{1}{2}\)
\(A=B\)
\(A=\dfrac{n+2}{2n+4}=\dfrac{n+2}{2\left(n+2\right)}=\dfrac{1}{2}\)
\(B=\dfrac{2+\dfrac{1}{2}}{5}=\dfrac{\dfrac{5}{2}}{5}=\dfrac{1}{2}\)
\(\Rightarrow A=B\)