Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:3/2
K:D
['AFDF GECE D2', 'EFGE ABcA BcdB c2 BA GFED C2', 'fgaf efge d2', 'AFAF BGBG']  
X:1
L:1/8
M:3/2
K:D
|: AFDF GECE D2 EF | GFED C2 E2 DEFD | AFDF GECE D2 d2 | AGFE D2 F2 EFGE :: ABcA BcdB c2 BA | 
 GFED C2 E2 DEFD | ABcA fedc d2 cB | AGFE D2 F2 EFGE :: fgaf efge d2 df | efge c2 ce defd | 
 fgaf efge d2 cB | AGFE D2 F2 EFGE :: AFAF BGBG A2 GF | GFED C2 E2 DEFD | AFAF BGBG BdcB | 
 AGFE D2 F2 EFGE :|  