Answer:
The equation of Z is: [tex]Z=X(v^{17}+v^{15}+v^{12})+Y(v^{20}+v^{18}+v^{15})[/tex]
Step-by-step explanation:
Then the amount invested for the 1-year old is: [tex]Xv^{17}+Yv^{20}[/tex]
Then the amount invested for the 3-year old is: [tex]Xv^{15}+Yv^{18}[/tex]
Then the amount invested for the 6-year old is: [tex]Xv^{12}+Yv^{15}[/tex]
The one-time investment will be:
[tex]Z=Xv^{17}+Yv^{20}+Xv^{15}+Yv^{18}+Xv^{12}+Yv^{15}\\=X(v^{17}+v^{15}+v^{12})+Y(v^{20}+v^{18}+v^{15})[/tex]