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
['d2 d B2 d']  
X:1
L:1/8
M:6/8
K:G
 d |"G" dBd gfe | d2 d B2 d |"D7" c2 c A2 c |"G" B2 B G2 d | dBd gfe | d2 d B2 d |"D7" ded cBA | 
"G" G3 z2 d ||"D7" c2 c A2 e |"G" d2 d B2 d |"D7" c2 c A2 e |"G" d2 d B2 d | dBd gfe | d2 d B2 d | 
"D7" ded cBA |"G" G3 z3 |]  