Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
Q:1/4=60
M:3/4
K:G
['e2 (dB) A2', 'G4 d2 g2 (fe)ag f2 (ed)(gf) e3', 'A2 (cB)(AG)']  
X:1
L:1/8
Q:1/4=60
M:3/4
K:G
 G2 | G2 d2 (cB) | c2 e2 (dB) | A2 (cB) AG | G4 G2 | (GB) d2 (cB) | (Ec) e2 (dB) | A2 (cB)(AG) | 
 G4 :: d2 | g2 (fe)ag | f2 (ed)(gf) | e3 d Bd | e3 f g2 | GB d2 (cB) | c2 e2 (dB) | A2{c} B2 AG | 
 G4 :: G2 | (ed) B2 (AG) | c2 (ge)(dc) | A2 (cB)(AG) | A4 (ba) | (ge) d2 (ba) | (ge)(dB)(dB) | 
 A2 (cB)(AG) | G4 :|  