Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:6/8
K:Emin
['dcA G2 A BA^G ABc dcA GBA', 'gfg e2 f gfg'  
X:1
L:1/8
M:6/8
K:Emin
|: dcA G2 A | BA^G ABc | dcA GBA | GEE E2 c | dcA G2 A | BA^G ABc | dcA GBA | GEE E2 z :| 
 gfg e2 f | gfg e2 f | gfg eag | fdc def | gfg aba | gef g2 e | dBA GBA | GEE E2 z :|  