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 d B3 d', 'adfd c2 ec fcec d2 fd adfd'  
X:1
L:1/8
M:4/4
K:D
 A3 d B3 d | c>dec defd | A3 d B3 d |1 c>dec d4 :|2 c>dec d2 |: (3ABc | d2 fd adfd | c2 ec fcec | 
 d2 fd adfd | efec A2 AB | AFDF Adcd | BGDG BdcB | Acef gece |1 dfec d2 :| dfec d4 |]  