Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/4
M:3/4
K:D
['a3/2 g/e/4c/4', 'd d c a c2 A', 'c B'  
X:1
L:1/4
M:3/4
K:D
|: A3/2 B/ A | A d f | B3/2 c/ B | B e g | a3/2 g/e/4c/4 | a3/2 g/e/4c/4 |1 B c B | A3 :|2 A B c | 
 d3 || f g f | f e d | d c a | c2 A | g a g | g f e | e d a | f2 A | f g f | f e d | d c a | c2 A | 
 a3/2 g/e/4c/4 | a3/2 g/e/4c/4 | A B c | d3 |: A B c | d e d | d c B | c3 | a3/2 g/e/4c/4 | 
 a3/2 g/e/4c/4 |1 B c B | A3 :|2 A B c | d3 ||  