Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
M:4/4
K:C
['D GDG', 'G2 A Bdg dBG cBc def gdB'  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:G] .abc D | GDG ABA | BGB def | (gf)(e d)c(B | c)AA A2 D | GDG cB(A | B)G(B d)ef | 
 (gf)(e d)e(c | B)GG G2 :| | A | Bdg dBG | cBc def | gdB ed(c | B)AA A2 B | GcA Bcd | ece gfe | 
 dBd ed(c | B)GG G2 :|  