Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/4
M:9/8
K:D
['A/ d d f d', 'a g'  
X:1
L:1/4
M:9/8
K:D
 A/ | d d f d A/ | d d f d d/ | A/c/ e f g e/ | f/d/ e c A A/ | d d f d c/ | B e g b b/ | 
 a g/a/ g/e/ f d/ | e/ c d3/2- d :: A/ | f a g f a/ | g b a g b/ | a g/a/ g/e/ f d/ | 
 e/c/ d B A A/ | f a g f a/ | g b a g f/ | e/d/ c B A g/ | e/ c d3/2- d :|  