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
Q:3/8=36
M:6/8
K:none
['e2 d']  
X:1
L:1/8
Q:3/8=36
M:6/8
K:none
{gBd} B>A{e}G d/{e}Bd |{g} e<gf{gef} e2 d |{gBd} B>A{e}G d/{e}Bd |{g} e2 d{GBG} A3 | 
{gBd} B>A{e}G d/{e}Bd |{g} e<gf{gef} e2 d |{gef} e>Bd{gef} e2 d |{GBG} A>BA{e} G3 :| 
 e/{g}Bd{gef} e2 d |{g} e<gf{gef} e2 d | e/{g}Bd{gef} e2 d |{g} e2 d{GBG} A3 | e/{g}Bd{gef} e2 d | 
{g} e<gf{gef} e2 d | e3/2{g}Bd{gef} e2 d |{GBG} A>BA{e} G3 :|  