Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['BBB B2 A F2 A d3 dcB', 'B2 e e2 d B2 c d3'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
"^E dorian" BBB B2 A | F2 A d3 | dcB A2 F | E2 E FED | BBB B2 A | F2 A d3 | dcB d2 F | E3 E3 :| 
 B2 e e2 d | B2 c d3 | dcB A2 F | E2 E FED | B2 e e2 d | B2 c d3 | dcB d2 F | E3 E3 :|  