Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
M:4/4
K:D
['D>FA>F .B2 .G2', 'B/c/d B/A/G F/G/A'  
X:1
L:1/8
M:4/4
K:D
 A, | D>FA>F .B2 .G2 | F>D A>D{F} E3 F | D>FA>F .B2 .G2 | (F/G/).A (G/F/).E (D2 D) :| A | 
{c} d>A F<A .B2 .G2 | F<d A>F{F} E3 A |{c} c>A F/G/A B/c/d B/A/G | F/G/A G/F/E D2- D>A | 
{c} d>A F>A .B2 .G2 | F>d A>F{F} E3 F | D>FA>F B/c/d B/A/G | F/G/A G/FE D2- D ||  