5. (3 points) In the two-digit addition operation shown in the figure, it is known that $A+B+C+D=22$, then $X+Y=(\quad)$
$$
\begin{array}{r}
A B \\
+\quad C D \\
\hline X Y 9
\end{array}
$$
A. 2
B. 4
C. 7
D. 13
【Analysis】According to the unit digit of the sum is 9, we can get: $B+D=9$, then $A+C=22-9=13$, so we can get $x=1, y=3$, according to this, we can find the value of $x+y$.

【Solution】Solution: According to the analysis of the problem, we can get: $B+D=9$, then $A+C=22-9=13$, so we can get $x=1, y=3$, then $x+y=1+3=4$. Therefore, the answer is: $B$.