Construct a music composition that includes the given motif, while conforming to the necessary musical form.
X:1
L:1/8
M:6/8
K:G
['DGG BAB', 'def gag fed'  
X:1
L:1/8
M:6/8
K:G
 DGG BAB | cAG FGA | DGG BAB | cAF G2 G | DGG BAB | cAG FGA | fed f2 d | cAF G2 z :: def gag | 
 fed g2 B | def gag | fed cAF | def gag | fed g2 d | fed f2 d | cAF G2 z :|  