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 B>AGGFG A4 z D c>BAAdc B4']  
X:1
L:1/8
M:6/8
K:G
 D | B>AGGFG | A4 z D | c>BAAdc | B4 z d | d>cBBAG | c2 egfe | d>edcBA | G4 z |]  