Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:D
['F>G A2 d2 g2 f2 e>B-', 'e>d c>e g>b a>g e>f d4- d2'  
X:1
L:1/8
M:4/4
K:D
 F>G"^INTRO" |"D" (3AFD A/F/D/A/"A7" G>E C>A, |"D" D2 F2 D2 |: F>G |"D" A2 d2 g2 f2 | 
"G" e>B- B4 e>d |"A" c>e g>b a>e f>g |"D" (3fad' bd'b a>f F>G |"D" A2 d2 g2 f2 |"G" e>B- B4 e>d | 
"A" c>e g>b a>g e>f |"D" d4- d2 :| f>g | (3aba f4 e>d |"G" (3efe B4 e>d |"A" c>B c<e G2 (3c=cB | 
"D" A>F A>d f3 z | (3aba f4 e>d |"G" (3efe B4 e>d |"A7" c>e g>b a>g e>f |1"D" d4- d2 :|2 
"D" d2 f2 d2 ||  