Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/2
K:Emin
['B, E3 (F GF)GA B2 (ec) dBAd', 'GE)E A BA(Bd ed)e(f g)fed e(dBA) B(GEF)'  
X:1
L:1/8
M:2/2
K:Emin
 B, | E3 (F GF)GA | B2 (ec) dBAd | B(GEF) GAB(c | dB)e(c dBA)F | E(B,EF) G3 (A | B2) e(c dB)Ac | 
 B(GEF) G(FGB) | dBA(F GE)E || A | BA(Bd ed)e(f | g)fed e(dBA) | B(GEF) GABc | (3ddd (AG) FGAF | 
 (3EEE (BE) dEBE | Bee(c dB)Ad | B(GEF) G(ABc) | dBA(F GE)E |]  