Is there a way to left align the first 2 rows with the last one?

![enter image description here](https://i.stack.imgur.com/xwkKc.png)

```
\documentclass{article}
\usepackage{amsmath}
\begin{equation*}
\left\{{\begin{aligned}
&\left.{\begin{aligned}
&A+B=X\\
&B+C=Y\end{aligned}}\right\}2A+B+C=X+Z\\
&C+A=Z
\end{aligned}}\right.
\end{equation*}
\end{document}

```