Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:D
['F F']  
X:1
L:1/8
M:6/8
K:D
 D | F F F A G E | E D D D2 D | D F A d d d/ d/ | c A B A2 A | d d d d A F | G A B A2 D | 
 F F F A G E | E D D D2 ||  