Construct musical works that adhere to the outlined structure and include the given musical motif.
X:1
L:1/8
M:4/4
K:Emin
['e^def g2 fe dedB A2 GF G2', 'E4 BEED EFGE FEFD FGAF G2 d2'  
X:1
L:1/8
M:4/4
K:Emin
|: e^def g2 fe | dedB A2 GF | G2 GE GABc | BAB^D EFGA | B2 (3GAB A2 A2 | BABe d3 d | e^def gagf | 
 feed B4 | dcdf edef | gfed B2 AG | d2 c/d/e dBGB | AGFE E4 :: BEED EFGE | FEFD FGAF | G2 d2 dedA | 
 B2 e2 e3 f | gfga (g/a/b) ag | fefg (f/g/a) gf | e^def gfga | BA ^G/A/B A4 | dBBe d2 d2 | 
 edef gfed | BABG dBeB | AGFE E4 :|  