Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:6/8
K:G
['g>fg (.e2 .d) B>ee d>BA B>GG', 'a>fd g>fg']  
X:1
L:1/8
M:6/8
K:G
|: ud | g>fg (.e2 .d) | B>ee d>BA | B>GG d>GG | B>AA (.A2 .f) | g>fg (.e2 .d) | B>ee d>BA | 
 B>GG d>AA | B>GG G2 :: ud | g>fg a>fd | g>fg a>fd | g>fg e>ag | f>dd (.d2 .d) | b>gb a>fd | 
 g>fg d>BG | B>ee d>BA | B>GG G2 :|  