Construct a musical piece utilizing the given sequence in alphabetical form and the supplied motif.
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
['A2 d2d2d2e2 dcde dcde f2f2f2g2 fefg fefg', 'd2ag fgef']  
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
 A2 | d2d2d2e2 | dcde dcde | f2f2f2g2 | fefg fefg | a2a2 a2ba | g2g2 g2ag | f2ed fagf | e4 z2 :: 
 cd | e2ee e2f2 | edcB A2 (fg) | a2fg a2b2 | agfe d2ag | fgef d2ag | fgef d2fg | abag f2e2 | 
 d4 z2 :|  