Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/16
M:2/4
K:Bb
['.B2(bg) fdcB AFcF dFcF .B2(bg) fdcA', '(dB).B2 BGFD ECCc AFcF dFcF BGFD ECCD'  
X:1
L:1/16
M:2/4
K:Bb
 .B2(bg) fdcB | AFcF dFcF | .B2(bg) fdcA | FABc (dB).B2 :: BGFD ECCc | AFcF dFcF | BGFD ECCD | 
 B,ABc (dB).B2 :|  