Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/16
Q:1/4=100
M:2/4
K:G
['g2gg g2g2 g2d2 b4 a2f2 a2f2 afgb', 'd>cd>e f>ga>f g>fg>a', 'z4 dddd d2a2 (d2g2) (d2g2) (c2e2) (c2e2)', 'f2g2 a2d2 b2g2 eeee a2>g2 fgfe dcBc']  
X:1
L:1/16
Q:1/4=100
M:2/4
K:G
 g2gg g2g2 | g2d2 b4 | a2f2 a2f2 | afgb b>ag>f | e2ee e2e2 | f2d2 b2>a2 | g>ba>g f>ag>f | e4 z4 :: 
 d>cd>e f>ga>f | g>fg>a g>fg>e | d>cd>e f>ga>f | g>fg>a b>fg>a | (dg) B2 cege | (dg) B2 cege | 
 d>ef>g a>bc'>a | g4 z4 :: dddd d2a2 | (d2g2) (d2g2) | (c2e2) (c2e2) | A>Bc>d B2G2 | dddd d2g2 | 
 f2a2 f2d2 | B2e2 dcBc | d4 z4 ::"^*" ffff f2g2 | a2d2 b2g2 | eeee a2>g2 | fgfe dcBc | dddd d2g2 | 
 (e2g2) (d2g2) | ea f2 f>de>f | g4 z4 :|  