Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/8=180
M:12/8
K:D
['F2 B', 'd2 c B2 A Bcd'  
X:1
L:1/8
Q:1/8=180
M:12/8
K:D
 F2 B A2 A F2 B AFA | Bcd e2 d c2 A B2 A | F2 B A2 A F2 B AFA | Bcd efe B2 c d3 :| 
 f3 gfe d2 c B2 A | Bcd e2 d c2 A B2 G | A2 f f2 e d2 c B2 A | Bcd efe B2 c d3 :|  