Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:2/2
K:D
['B>AF>A D2 F>A B>A (3Bcd e2 d>e', 'g>f e>fg>a b2 a>g f>ga>f e>gf>e d>fe>d'  
X:1
L:1/8
M:2/2
K:D
 (d>B) |{c} B>AF>A D2 F>A | B>A (3Bcd e2 d>e | f>ga>f e>gf>e | d>fe>d B2 d>B |{A} B>AF>A D2 F>A | 
 B>A (3Bcd e2 d>e | f>aa>f e>gf>e | d2 d>d d2 :: f>g | a>fd>f a2 g>f | e>fg>a b2 a>g | 
 f>ga>f e>gf>e | d>fe>d B2 d>c |{c} B>AF>A D2 F>A | B>A (3Bcd e2 d>e | f>aa>f e>gf>e | d2 d>d d2 :|  