Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/2
K:Ador
['cB AGAB AGEG AGAB cBcd (3efg fa', '(3efg a2 ab ageg agab a2 ge'  
X:1
L:1/8
M:2/2
K:Ador
 cB | AGAB AGEG | AGAB cBcd | (3efg fa gedc | B2 G2 G2 cB | AGAB AGEG | AGAB cBcd | (3efg fa gedB | 
 c2 A2 A2 :| (3efg | a2 ab ageg | agab a2 ge | dega gedc | B2 G2 G2 |1 (3efg | a2 ab ageg | 
 agab a2 ge | dega gedB | c2 A2 A2 :|2 cB | AGAB AGEG | AGAB cBcd | (3efg fa gedB | c2 A2 A2 |]  