Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
['DEG GFG A2 A AGA B>cB BAG', 'Bcd ded'  
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
"^Mod." DEG GFG | A2 A AGA | B>cB BAG | A>BA AGF | G3 E2 D | DEG G3 :| Bcd ded |{cd} e2 e edc | 
 Bcd ded | efg BAG | ccg BBg | A2 A AGA | B>cB BAG | ABA AGF | G3 E2 D | DEG G3 ||  