Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
M:4/4
K:D
['BE E2', 'd2 fd'  
X:1
L:1/8
M:4/4
K:D
"^E dorian" dc | BE E2 BAFE | D2 FD ADFD | BE E2 BAFA | (3Bcd eg fddc | BE E2 BAFE | DAFA DAFA | 
 BE E2 BAFA | (3Bcd eg fddA || d2 fd adfd | (3Bcd ef gfec | d2 fd adfd | (3Bcd eg fddc | 
 d2 fd affd | (3Bcd ef g2 fg | afge fdec | (3Bcd eg fd d2 ||  