Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/4
M:6/4
K:D
['A d2 e (f d) f g3', 'a (a b) a g2 f g3'  
X:1
L:1/4
M:6/4
K:D
 A | d2 e (f d) f | g3 f2 (f/4g/4a/) | (f g) f e2 d | e3 A2 A | d2 e (f d) f | g3 f2 (f/4g/4a/) | 
 (f g) f e2 d | d3- d2 |] a | (a b) a g2 f | g3 f2 (f/4g/4 a) | (f g) f e2 d | e3 A2 a | 
 (a b) a g2 f | g3 f2 (f/4g/4a/) | (f g) f e2 d | d3- d2 :|  