Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:3/8=120
M:6/8
K:F
['F ABc cde fef', 'fag fag'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:F
 F | ABc cde | fef cde | def{c} B3 |{B} A3 z2 F | ABc cde | fef egf | edc ag=B | c3 c2 :: c | 
 fef gfe | fag fag | fag fcA | G3 z2 F | ABc cde | fge fge | fge fcA | F3 F2"^*" :|  