Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/4
M:4/4
K:D
['A A']  
X:1
L:1/4
M:4/4
K:D
 A, | D3/2 E/ F G/G/ | A3/2 B/ A A | G3/2 F/ G A | F2 z D/F/ | A A A A | A F B A | G E G E | 
 G3/2 B/ A G | F3/2 E/ F E | A d B B | A3/2 F/ A A | F2 z |]  