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
['ABA c2 d edc', 'cde g2 a gec'  
X:1
L:1/8
M:6/8
K:G
 E | ABA c2 d | edc BAG | GAG B2 c | dge dBG | ABA c2 d | edc Bcd | e2 A BAG | A3 e2 :| g | 
 cde g2 a | gec gec | GAG B2 c | dge dBG | cde g2 a | gec deg | a2 A BAG | A3 e2 :|  