Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:2/4
K:D
['d2 B/c/d AF Dd ec AB/c/', 'ed c/B/A Bc'  
X:1
L:1/8
M:2/4
K:D
 d2 B/c/d | AF Dd | ec AB/c/ | de fe | d2 B/c/d | AF Dd | ec AB/c/ |1 d2 A2 :|2 d2 d2 |: 
 f>e f/g/a | bg ed | c/B/A Bc | de fe | f>e f/g/a | bg ed | c/B/A Bc |1 d2 d2 :|2 d2 A2 ||  