Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
M:2/4
K:G
['D GGGA BBBB ABcF G2 z A']  
X:1
L:1/8
M:2/4
K:G
 D | GGGA | BBBB | ABcF | G2 z A | AGFG | AFFA | AGFG | AFFD | GGGB | d3 c | BBAA | G2 z |]  