Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:Bb
['DD F2 F2 (GF)(DC) D2 (GF)']  
X:1
L:1/8
M:4/4
K:Bb
 BB Bc d2 d2 | Bc BG F2 DD | F2 F2 (GF)(DC) | D2 (GF) G3 G | d3 d c2 d2 | (Bc)(BG) F2 DD | 
 F2 F2 (GF)(DC) | D2 (GF) G4 | GG GA B2 (Bc) | d2 (de) f2 d2 | BB B2 c3 B | c2 (Bc) d3 d | 
 dd d2 c2 d2 | Bc(BG)(GF) DD | F2 F2 (GF)(DC) | D2 (GF) G4 |]  