\[
\begin{aligned}
T(x,c) &= \Theta(x), && c\leq 2,\\
T(x,y) &= \Theta(x)+S(x,y/2),\\
S(c,y) &= \Theta(y), && c\leq 2,\\
S(x,y) &= \Theta(y)+T(x/2,y).
\end{aligned}
\]
$\text{We need to find \(T(n,n)\).}$
\[
T(x,y)=\Theta(x)+S(x,y/2)
\]
$\text{Using the definition of \(S\),}$
\[
S(x,y/2)=\Theta(y/2)+T(x/2,y/2)
\]
$\text{Therefore,}$
\[
T(x,y)
=
\Theta(x)+\Theta(y/2)+T(x/2,y/2)
\]
$\text{Again expanding \(T\),}$
\[
T(x/2,y/2)
=
\Theta(x/2)+S(x/2,y/4)
\]
$\text{Hence,}$
\[
T(x,y)
=
\Theta(x)+\Theta(y/2)
+\Theta(x/2)+S(x/2,y/4)
\]
$\text{Now,}$
\[
S(x/2,y/4)
=
\Theta(y/4)+T(x/4,y/4)
\]
$\text{Thus,}$
\[
T(x,y)
=
\Theta(x)+\Theta(y/2)
+\Theta(x/2)+\Theta(y/4)
+T(x/4,y/4)
\]
$\text{Continuing,}$
\[
T(x,y)
=
\Theta\left(
x+\frac{x}{2}+\frac{x}{4}+\cdots
\right)
+
\Theta\left(
\frac{y}{2}+\frac{y}{4}+\frac{y}{8}+\cdots
\right)
\]
$\text{Both are geometric series:}$
\[
x+\frac{x}{2}+\frac{x}{4}+\cdots=\Theta(x)
\]
$\text{and}$
\[
\frac{y}{2}+\frac{y}{4}+\frac{y}{8}+\cdots=\Theta(y)
\]
$\text{Therefore,}$
\[
T(x,y)=\Theta(x)+\Theta(y)
\]
\[
T(x,y)=\Theta(x+y)
\]
$\text{Putting \(x=n\) and \(y=n\),}$
\[
T(n,n)=\Theta(n+n)
\]
\[
\boxed{T(n,n)=\Theta(n)}
\]
$\text{Therefore, the correct option is}$
\[
\boxed{\text{B. }\Theta(n)}
\]