He folks, here's my problem:
Let $\mathbf{A}, \mathbf{B}, \mathbf{X}_1, \mathbf{X}_2, \mathbf{X}_3, \mathbf{Y}_1, \mathbf{Y}_2, \mathbf{Y}_3\in\mathbb{R}^{3\times 3}$ with determinante det()=+1. The matrices $\mathbf{A}$, $\mathbf{B}$, $\mathbf{X}_1$, $\mathbf{X}_2$ and $\mathbf{X}_3$ are known and the relation
$\mathbf{A}\mathbf{B}=\mathbf{X}_1\mathbf{X}_2\mathbf{X}_3 \mathbf{B}=\mathbf{X}_1 \mathbf{Y}_1 \mathbf{X}_2\mathbf{Y}_2 \mathbf{X}_3\mathbf{Y}_3$
is valid if the matrices $\mathbf{X}_i$ and $\mathbf{Y}_i$ have the same structure.
The question is:The question is: How to determine the matrices $\mathbf{Y}_1$, $\mathbf{Y}_2$ and $\mathbf{Y}_3$ with some dependence on components of $\mathbf{B}$ such that the matrices $\mathbf{X}_i$ and $\mathbf{Y}_1$$\mathbf{Y}_i$ have the same structure? In other words, $\mathbf{Y}_1(\mathbf{B})$, $\mathbf{Y}_2(\mathbf{B})$ and depend on components of $\mathbf{Y}_3(\mathbf{B})$$\mathbf{B}$, e.g. $\mathbf{Y}_1(\mathbf{B})$?
I'm grateful for any suggestion.
edit: I have extended my original posting and tried to explain the problem in more detail.