Construct musical works that adhere to the outlined structure and include the given musical motif.
X:1
L:1/8
Q:1/2=100
M:4/4
K:Emin
['g (dB)(AG) (ED)(EG) d2 dB d2 dg', 'b2 ag'  
X:1
L:1/8
Q:1/2=100
M:4/4
K:Emin
 g | (dB)(AG) (ED)(EG) | d2 dB d2 dg | (dB)(AG) EDEG | e2 ed e3 :: g | dega{ga} b2 ag | 
 d2 dB d2 de | dega{ga} b2 ag | e2 ed e2 eg | dega{ag} b2 ag | d>edB d2 dg | dBAG EDEG | 
 e2 ed e3 :|  