Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/4
Q:1/4=180
M:2/4
K:G
['d3/2 c/ B3/2 A/ G B G', 'A3/2 G/']  
X:1
L:1/4
Q:1/4=180
M:2/4
K:G
 d3/2 c/ B3/2 A/ | G B G F | E A F E/D/ | E F G2 :| A3/2 G/ A3/2 G/ | A B c A | d d e/f/ g | 
 f e d2 | B d A B | G G A/B/ c | d3/2 c/B/c/B/A/ | G D G2 :|  