Compose music by following the designated structure and integrating the suggested musical idea.
X:1
L:1/8
M:6/8
K:G
['EAA A2 B c2 d', 'a2 g'  
X:1
L:1/8
M:6/8
K:G
|: EAA A2 B | c2 d e3 | dBA B2 A | BAG E2 D | EAA A2 B | c2 d e2 f | gfe dBA | B2 A A3 :: 
 a2 g efg | a2 g e2 f | gfe def | g3 bag | a2 g efg | a2 g e2 f |1 gfe dBA | B2 A A3 :|2 gfe dBA | 
 cBA BAG ||  