Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
Q:1/8=180
M:12/8
K:D
['f e2 d BAB', 'f g2'  
X:1
L:1/8
Q:1/8=180
M:12/8
K:D
"^E dorian - BB simplified version" f | e2 d BAB GAG G2 A | B2 d edB d3 g2 f | e2 d BAB G2 G G2 f | 
 efg fed e3 g2 :| A | Bcd e2 f g2 f gfg | Bdc d2 e d3 B2 A | Bcd e2 f g2 f g2 a | bag agf e3 e2 d | 
 Bcd e2 f g2 f gfg | Bdc d2 e d3 g2 a | bag agf gfe fed | efg fed !fermata!e6 |]  