Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/4
M:3/4
K:D
['A d2 d f2 d (c B)', 'A A', 'd f'  
X:1
L:1/4
M:3/4
K:D
 A | d2 d | f2 d | (c B) B | B2 B | A2 A | A/B/c/d/e/c/ | d2 f | d2 :: f | e2 e | f2 e | e2 c | 
 A2 c | B d f | A2 ^G | A A A | A B c | d2 d | f2 d | c B B | B2 B | A2 A | A/B/c/d/e/c/ | d2 f | 
 d2 :: d | c e A | d f A | e g e | d f a | c e A | d f A | e g e/c/ | d2 :|  