Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:2/4
K:G
['GGGD B2 BD G2']  
X:1
L:1/8
M:2/4
K:G
 D | GGGD | B2 BD | G2 z B | GBBB | Bd d2 | AAAA | AccG | GGGD | B2 BD | G2 z |]  