Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=130
M:4/4
K:D
['A>df>e e>d f2', 'd2 c>def g>ece'  
X:1
L:1/8
Q:1/4=130
M:4/4
K:D
 A>df>e e>d f2 | A>df>e e>d f2 | f>ee>f g>ece | d>cd>f a2 a2 | A>df>e e>d f2 | A>df>e e>d f2 | 
 f>ee>f g>ece |1 d>edc d4 :|2 d>edc d3 (f |] g2) g2 g>f e2 | f2 f2 f>e d2 | c>def g>ece | 
 d>efg a2 a2 | g2 g2 g>f e2 | f2 f2 f>e d2 | c>def g>ece | d>edc d4 :|  