Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
['d3 fed dcB AGF G2 A Bcd', 'A3 Bcd'  
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
|:"^A" d3 fed | dcB AGF | G2 A Bcd | A2 F DEF | G3 BAG | F3 D3 ::"^B" G3 A3 | Bcd e3 | G3 A3 | 
 Bcd e2 f | d2 c d2 B | A2 G FGA | B2 c dcB | A2 F DEF | G3 BAG | F3 D3 :|  