Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:2/2
K:D
['AFdB AFDF AFdB A2', 'defg abaf']  
X:1
L:1/8
M:2/2
K:D
 dBS | AFdB AFDF | AFdB A2 dB | AFdB ABde | fedf e2 dB | AFdB AFDF | AFdB A2 de | faaf gece | 
 dBAF D2 z2 || | defg abaf | gage abaf | defg abaf | bgaf e2 d2 | defg a2 af | bagb a2 af | 
 gfeg f2 fd | egfd efdSB |]  