Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/2
K:Emin
['(3(efg) (f^d)', 'd2 (ed) (Bd) d2'  
X:1
L:1/8
M:2/2
K:Emin
 (3GGG (GA) (BE) E2 | BEdE BEE(F | G)(FG)A BAB^d |1 (3(efg) (f^d) edeg :|2 (3(efg) (f^d) e2 || 
 (ef) | (3(gag) (3(fgf) edB^c | d2 (ed) (Bd) d2 | (3(gag) (3(fgf) edB^d | (3(efg) (f^d) e2 (ef) | 
 (3(gag) (3(fgf)edB^d | d2 (ed) (Bd) d2 | bgaf gfe^d | (3(efg) (f^d) e2 g2 |]  