Develop a piece of music by incorporating the provided motif and following the outlined musical structure represented by alphabet characters.
X:1
L:1/8
M:4/4
K:Emin
['(3DEF GFGA BAGF Ee ed (3efe dc', 'ba gafg']  
X:1
L:1/8
M:4/4
K:Emin
 (3DEF | GFGA BAGF | Ee ed (3efe dc | BgdB cAFG | (3ABA (3GFE (3DED (3DEF | GFGA BAGF | 
 Ee ed (3efe dc | BgdB cAFG | (3ABA GF G2 :| ba | gafg e2 ba | gafg e2 ag | fgef d2 ag | 
 fgef d2 ba | gafg e2 ba | gafg e3 B | edef gfga | (3bag (3agf e2 :|  