Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/16
Q:1/8=120
M:3/8
K:Bb
['(3(FGA) B2B2B2 B4 FB d2d2d2 d4 Bd', '(df) (fe)e2 (cA) (cB)B2', 'B4 F2 (B2A2B2) c4 d2 (e2G2c2) (B2A2'  
X:1
L:1/16
Q:1/8=120
M:3/8
K:Bb
 (3(FGA) | B2B2B2 | B4 FB | d2d2d2 | d4 Bd | f4 dB | g4 ec | A2ABcA | B4 :: (df) | (fe)e2 (cA) | 
 (cB)B2 (df) | (fe)e2[fa]2 | [dfb]4 (df) | (fe)e2 (cA) | (cB)B2 f2 | (g^fgecA) | B4 :: F2 | 
 (B2A2B2) | c4 d2 | (e2G2c2) | (B2A2 F2) | (B2A2B2) |{a} (g^fgabg) | (fgfedc) | B4 :|  