Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:4/4
K:C
['G2 A BcA BGG', 'dBG gab afd cBc def geg fdf']  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:G] Tue eaed e"^Soldier's Joy"!p!!p! e[Q:1/8=160].D | G2 A BcA | BGG GBc | dBG FGA | 
 FDC DEF | G2 A BcA | BGG fed | cAG FGA |1 BGG G2 :|2 BGG GBd || gfg afd | cBc dBG | gab afd | 
 cBc def | geg fdf | ece gfe | ded cBA |1 BGG GBd :|2 BGG G3- | G6 |]  