Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
Q:1/2=60
M:2/2
K:D
['d2 d>d d2', 'c>de>f g2 e>g f2 f>g a>fd>d g>ef>d']  
X:1
L:1/8
Q:1/2=60
M:2/2
K:D
 d2 d>d d2 (e/d/c/B/) |{B} A2 A>A A2 f>d | d>B f>e e>ce>c | d2 d>d d2 f>e | e2 cd eefe | 
 d2 B>c dded | d/c/B/c/ e/d/c/B/ A2 ^G2 | A2 A>A"^rest added" A2 z2 :: A2 A>B c>de>f | 
 g2 e>g f2 f>g | a>fd>d g>ef>d | e2 A>A A2 F>G | A2 B>c d2 f>d | d>Bg>e f2 fg/a/ | a>fd>d fedc | 
 d2 d>d"^rest added" d2 z2 :|  