Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:3/4
K:F
['f2 f>cf>a', 'f2 a2 a>f d2 g2 g>e c2'  
X:1
L:1/8
M:3/4
K:F
|: f2 f>cf>a | a>g a/g/f/g/ a2 | f2 f>cf>a | g>e g2 f2 :: a2 a>f d2 | g2 g>e c2 | d2 d>BA>B | 
 c>dc>B A2 | F>A c>e f>a | g>e g2 f2 :|  