Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:D
['d2 d>A'  
X:1
L:1/8
M:4/4
K:D
|:"D" A2 A>F"Bm" D>E F>G |"D" A>F A>d"G" B2 G>B |"A7" e2 e>c A>B c>d | e>c e>a"D" f2 d2 | 
"D" A2 A>F"Bm" D>E F>G |"D" A>F Ad"G" B2 G2 |"D" (3fgf f>d"A7" e>f e>c |"D" d2 d>d d3 A :: 
"D" d2 d>A d2 d>A | d>e d>A G>F D2 |"A7" e2 e>c e2 e>c | (3fgf e>d"A7" c2 A2 |"D" d2 d>A d2 d>A | 
 d2 A>G F2 D2 | (3fgf f>d"A7" e>f e>c |"D" d2 d>d d4 :|  