Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:3/4
K:D
['A>d f2 a>f e>f d2 d2 B>c', 'D2 f>g a2 f>a (3agf (3fgf e2']  
X:1
L:1/8
M:3/4
K:D
|: A>d | f2 a>f e>f | d2 d2 B>c | d2 a>f d>f | e2 A2 (3cde | f>g f/g/f/e/ d>c | (3BcB A2 d>e | 
 f2 g>f e>f | d2 D2 :: f>g | a2 f>a (3agf | (3fgf e2 d>c | d2 f>d (3Bcd | (3ded c2 d>e | 
 f>g f>e d>c | B2 A2 d>e | f2 g>f e>f |1 (3ddd d2 :|2 d4 ||  