Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
Q:1/4=90
M:2/4
K:D
['dd/d/ dA ff/f/ fd ee/e/ ec', 'a2 a/b/a/g/', 'gg/g/ ge'  
X:1
L:1/8
Q:1/4=90
M:2/4
K:D
|: dd/d/ dA | ff/f/ fd | ee/e/ ec | d/c/d/e/ dA | dd/d/ dA | ff/f/ fd | ee/e/ ec | d2 d2 :: 
 a2 a/b/a/g/ | fdcd | a2 a/b/a/g/ | f2 a2 | a2 a/b/a/g/ | fdcd | a2 a/b/a/g/ | f2 a2 :: gg/g/ ge | 
 ff/f/ fd | gg/g/ ge | a2 a2 | gg/g/ ge | ff/f/ fd | ee/e/ ec | d2 d2 :|  