Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/4
M:3/4
K:D
['a3/2 g/4a/4', 'a e A f'  
X:1
L:1/4
M:3/4
K:D
 A | d2 e | f2 g | a3/2 g/4a/4 b | a3/2 g/4a/4 b | a3/2 g/4a/4 b | a2 :: f | g f e | a2 f | g f e | 
 a2 f | g f/g/ a | e A f | d D a | e A f | d D a | e A f | d2 :|  