Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:2/2
K:D
['dD D2 FDFA', 'd2 fd', 'FDFA dfaf', 'd2 fd']  
X:1
L:1/8
M:2/2
K:D
 dD D2 FDFA | dfaf gfec | dD D2 FDFA | BGEF GABc | dD D2 FDFA | dfaf gfeg | fdec dBAF | 
 GFEF GABc :| d2 fd Adfd | d2 fd BABc | d2 fd Adfd | BGEF GABc | d2 fd Adfd | d2 fd cdeg | 
 fdec dAFA | GFEF GABc | d2 fd Adfd | d2 fd BABc | dcde fdAF | GEFD E3 z | a3 b afdf | gfef gbag | 
 fdec dBAF | GFEF GABc |:"^variations" dD D2 FDFA | dfaf gfec | dD D2 FAAF | GFEF GABc | 
 dD D2 FDFA | dfaf gfeg | fdec dBAF | GBEF GABc :| d2 fd edfd | Adfd edBc | d2 fd Adfd | 
 (3Bcd AF GABc | d2 fd Adfd | cdef gaag | fdec dBAF | GFEF GABc | d2 fd Adfd | d2 fd edBc | 
 dcde fdAF | GEFD E3 z | a3 b afdf | gfef g2 ag | fgec dBAF | GBEF GABc ||  