Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/4
M:9/4
K:D
['e c', 'g e'  
X:1
L:1/4
M:9/4
K:D
 e | =f2 d e c A A c d | =f2 d g e c d2 e | =f2 d e c A A c d | =f/g/ a =f e c A d2 :: e | 
 =f/g/ a =f g e d c d e | =f/g/ a =f g e d e/f/ g e | =f/g/ a =f g e c c d e | =f2 d e c A d2 :|  