Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:D
['A3 B AFDF A2 FD GECE A3', 'FD D2', 'df f2 dffe dcdB ADFA ce e2'  
X:1
L:1/8
M:4/4
K:D
 B | A3 B AFDF | A2 FD GECE | A3 d BdAG | FD D2 EFGE | A3 B AFDF | A2 FD GECE | A3 d BdAG | 
 FD D2 EFG |] E | FD D2 FDGE | FD D2 GECE | FD D2 FDGF | EDCD EFG :| A | df f2 dffe | dcdB ADFA | 
 ce e2 fecA | BAGB ADFA | df f2 dffe | dcdB ADFA | ce e2 faec | dfec d3 |]  