I want my text, which I wrote after right brace, to be aligned right next to the brace. But they keep going far right and align with the longest line's end, vertically.
\begin{align*}
\left.
\begin{aligned}
x=ab\\
y=ab\\
z=ab\\
\end{aligned}
\right\}
\begin{aligned}
something in 1st row\\
something in 2nd row which is super long and causes some\\
something in 3rd row\\
something in 4th row\\
something in 5th row
\end{aligned}
\end{align*}