Let $A,A',B,B'$ be sets. If there exist bijections $f:A\to A'$ and $g:B\to B'$, then there exist bijections
\begin{align*}
A\sqcup B &\to A'\sqcup B',\\
A\times B &\to A'\times B',\\
A^B &\to (A')^{B'}.
\end{align*}
Equivalently, if $|A|=|A'|$ and $|B|=|B'|$, then
\begin{align*}
|A\sqcup B|&=|A'\sqcup B'|,\\
|A\times B|&=|A'\times B'|,\\
|A^B|&=|(A')^{B'}|.
\end{align*}