Design tunes that follow the specified musical pattern while integrating the presented motif
X:1
L:1/8
M:12/8
K:D
['B ABA AFA', 'A2 g f3'  
X:1
L:1/8
M:12/8
K:D
|: B | ABA AFA d2 A A2 B | ABA AFA B2 E E2 A | DFA AFA d2 e f2 e | dcB ABc d2 A A2 :: g | 
 f3 fed e2 A A2 g | f3 def g3 efg | fed fed fed a2 g | fgf efe d2 A A2 :|  