Compose melodious passages using the designated musical pattern and specified motif.
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
['A2 d2 ef gfed cdef e2 ag', 'a6 e2 cdec ec e2 cd e4'  
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
 A2 | d2 ef gfed | cdef e2 ag | f2 d2 efge | f2 d4 A2 | d2 ef gfed | cdef e2 ag | f2 g2 a2 ^g2 | 
 a6 || e2 | cdec ec e2 | cd e4 f2 | efgf edcd | e2 A4 A2 | agfe d2 d2 | gfed c2 A2 | defd efge | 
 f2 d4 |]  