Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/16
M:3/4
K:D
['D2 F2>A2', 'FDFA d2fd{cB} c2ec{dc} d2f2 efed cBcd e2f2', 'fgfe d2{cd}c2 [BE]6 d2 cdef{gf} g2ag{fg} f2ed'  
X:1
L:1/16
M:3/4
K:D
 D2 | F2>A2 d2d2 fafd | cdec [AA]6 A2 | ABcd e2ce{fg} f2ef | gagf efed c2>d2 | efec [dD]6 D2 | 
 F2>A2 d2d2{fg} f2ef | g2g2 fgfe d2>c2 |{cd} c2B2 [BE]6 B2 |{Bc} B2AG A2d2{fg} f2ed | 
 c2>e2 a2a2{cd} c2>d2 |1 efec [dD]6 :|2 efec [dD]8 |: [fAD]2>f2 d2d2 f2a2 | efed cBcd e2f2 | 
 [gBDG,]4 gagf efed | cdcB ABAG FDFA | d2fd{cB} c2ec{dc} d2f2 | efed cBcd e2f2 | 
 [gB]2gb abag{fg} f2ef | gagf efed{cd} c2>d2 |1 efec [dD]8 :|2 efec [dD]6 |: D2 | 
 F2>A2 d4{edc} d4 | [AF]2[AF]2 [AA]4 [AA]4 | [EA,]FED [EA,]2[FA,]2 [GG,]4 | [BG]4{Bc} B2AG [AF]4 | 
 [AD]2[AD]2 [dD]2[dD]2 fgfe | d2{cd}c2 [BE]6 d2 | cdef{gf} g2ag{fg} f2ed | cdec [dD]6 :|  