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
['ABA A2', 'G2 c B2 d dBG B^AB dBG']  
X:1
L:1/8
M:6/8
K:G
|: g | f2 d efg | dcB A2 ^G | ABA A2 G | ABA A2 g | fed ee/f/g | dcB A3 | B2 G cAF | GAG G2 :: c | 
 B2 d dBG | B^AB dBG | ABA A2 ^G | AA/B/A AA/B/c | B2 B dB/A/G | B^AB d3 | B2 G cAF | GAG G2 :|  