Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:6/8
K:G
['DGG BGG dGG BGG DFA', 'dgg bgg aff gee'  
X:1
L:1/8
M:6/8
K:G
 E | DGG BGG | dGG BGG | DFA DFA | DFA cBA | DGG BGG | dGG BGG | DFA cBA | AGF G2 :| B | dgg bgg | 
 aff gee | A^ce aba | gag fed | dgg bgg | aff gee | ABc dcA | AGF G2 :|  