Compose music that adheres to the given form and integrates the specified musical motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['BE E2', 'Beed efed Bdef'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
"^E dorian" dc | BE E2 Bdcd | BE E2 dBAF | D2 FD ADFE | DEFA BAFA | BE E2 Bdcd | BE E2 B2 AF | 
 D2 FA dfec | dBAF E2 :| FA | Beed efed | Bdef gfed | Addc dedB | AF F2 DEFA | Beed efed | 
 Bdef g2 fg | afge fdec | dBAF E2 :|  