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
['d d^cd dcd g2 d BdB GAB', 'ddd eee fff ggg', 'z G/^F/G/A/B G/F/G/A/B']  
X:1
L:1/8
M:6/8
K:G
 d | d^cd dcd | g2 d BdB | GAB GAB | Bdc A2 d | d^cd dcd | g2 d BdB | GAB dcA | GGG G2 :: A | 
 ddd eee | fff ggg | aag fed | ced cBA | ddd eee | fff ggg | agf edc | dfe d2!D.C.! :| z | 
 G/^F/G/A/B G/F/G/A/B | Bdd dcA | B3 g3 | fdd d2 z | G/^F/G/A/B G/F/G/A/B | Bee edc | dcB AG^F | 
 Ggg g2!D.C.! ||  