Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:6/8
K:G
['D GBd gfg edc BAG GBd geg', 'G2 c BBB ccc dBG TA2 G'  
X:1
L:1/8
M:6/8
K:G
 D | GBd gfg | edc BAG | GBd geg | fdd d2 e/f/ | geg fdB | cec dBG | GBd cAc | BGG G2 :: c | 
 BBB ccc | dBG TA2 G | Bcd efg | fdd d2 e/f/ | geg fdB | cec dBG | GBd cAc | BGG G3 :|  