Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/2
K:F
['f>c (3(ccc) a2', 'AFcF BGdG BGdG'  
X:1
L:1/8
M:2/2
K:F
 e | f>c (3(ccc) a2 (gf) | (3(gab) (ag) fdde |1 f>c (3(ccc) a2 gf | (3(gab) ag f2 (fg) :|2 
 fgag fdcA | BGcA F2 F || c | AFcF AFcF | BGdG BGdG | AFcF AFcF | BGcA F2 Fc | AFcF AFcF | 
 BGdG BGdG | FA (3(cde) fdcA | BGcA F2 F ||  