Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:4/4
K:D
['f>g a<f Te>f', "z4 d>ef>ga>f d'2 d>ef>ga>f d/ d>ed>B A>FA>d", 'e2 a', 'a2 a a2 g']  
X:1
L:1/8
M:4/4
K:D
{gfe} f>g | a<f Te>f B2 (f<d) | B<d A<F A2{edc} d>e | f<a b<d' a<f d e/f/ | 
 f2 [gf] e2 z2{gfe} f>g | a<f Te>f d2 f>d | B<d A<F A2 d>e | f<a (b<d') a<f e>f | d4 z4 || 
 d>ef>ga>f d'2 | d>ef>ga>f !fermata!d'3/2 d/ | d>ed>B A>FA>d | f>df>a b2 |{c'ba} b/c'/ d' c'b | 
 a<f f<d G<d A<d | f<a e<f d2 ||[M:6/8][K:D] a/g/ | f2 f fga | e2 e e2 a | d2 d dcf | f3 e2 a | 
 ad'a faf | dfd Aag | fgf ede | d2 d :| a | afa afa | a2 a a2 g | geg geg | a2 a a2 g | fdf fdf | 
 g2 g gfe | fga agf | f3 e2 b | aba faf | dfd Aag | fgf ede | d2 d d2 :|  