Suppose we have the PV of a bond, as well as two separate streams of cash flows, say, $C_a$ and $C_b$ that make up the total annual cash flows $C$ (i.e. $C=C_a+C_b$). In other words, suppose we have,
\begin{equation} PV(bond)=\frac{C^{(1)}}{(1+YTM)}+\frac{C^{(2)}}{(1+YTM)^2}=\frac{C^{(1)}_a+C^{(1)}_b}{(1+YTM)}+\frac{C_a^{(2)}+C_b^{(2)}}{(1+YTM)^2}. \end{equation} noting that $C^{(1)}\ne C^{(2)}$. I have been assigned with the task of breaking down the YTM according to the individual $YTMs$, which I cannot figure out. Would appreciate it, if someone could explain this to me.
Thanks.