Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:6/8
K:G
['D G2 GGFG A3 z2 D A2']  
X:1
L:1/8
M:6/8
K:G
 D | G2 GGFG | A3 z2 D | A2 AAGA | B3 z2 d | B2 BBAB | c3 z2 c | B2 G A2 F | G3 z2 |]  