Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:6/8
K:Emin
['E3 E^DE G2 E F3 BAG ABA', 'd BAG'  
X:1
L:1/8
M:6/8
K:Emin
|: E3 E^DE | G2 E F3 | BAG ABA | GFE ^D2 D | E3 E^DE | G2 E F3 | BAG ABA |1 G2 F E2 B :|2 
 G2 F E2 d |: BAG gdB | fdB g2 d | BAG gdB | fdB a2 d | BAG gdB | fdB e2 d | BAG ABA |1 
 G2 F E2 d :|2 G2 F E2 B ||  