How do I centre the equation number of a single multiline equation in a flalign environment while maintaining alignment with other equations at the equals sign?
Basically, I want this
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{flalign}
AAA &= 2 X Y - D Z & \
B &= 2 X Y \left( h_1 v_1 + v_2 \right) & \nonumber \
& \qquad - X^3 \left( 2 h_2 v_2 + K_2 \right) &
\end{flalign}
\end{document}
but with the equation number (2) centred between the two lines of the second equation.
I've seen several answers to this question, but they either involve only a single multiline equation that does not need to be aligned with other equations (e.g. Have one centred equation number in the flalign enviroment), in which case the centred equation number is easily achieved using aligned or split, or it is a scenario where the expressions to the left of the equals sign of both equations just happen to have the same length and thus align naturally (e.g. Aligning multiline equation to the left with only one equation number).
Edit: here is the screenshot.



multlined. – Bernard Sep 15 '21 at 11:30split(notaligned) is designed to do – David Carlisle Sep 15 '21 at 14:05