Construct musical works that adhere to the outlined structure and include the given musical motif.
X:1
L:1/8
M:4/4
K:D
['E DAA>F Ddf>e d<BA>G BEEF DAA>F Ddf>d', 'fdd g f>de>f g>ef>d B<Ag>f gee>g Tf>d', 'fdd g f>dBd A<dAF G<BAF BEE>F D>FE>G'  
X:1
L:1/8
M:4/4
K:D
 E | DAA>F Ddf>e | d<BA>G BEEF | DAA>F Ddf>d | B>cd>e{de} fdd :| g | f>de>f g>ef>d | B<Ag>f gee>g | 
 Tf>d cA (B/A/B/c/) d>B | A>ce>g fdd || g | f>dBd A<dAF | G<BAF BEE>F | D>FE>G F>AG>B | 
 A<dc<e dD-D |]  