Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/4
Q:1/4=120
M:6/4
K:D
['A A']  
X:1
L:1/4
Q:1/4=120
M:6/4
K:D
 F/G/ | A A A A A A | A2 F A2 F/G/ | A B A A F G | (A3 A2) F | A A A A A A | A2 F A2 F/G/ | 
 A B A A F G | (A3 A2) A | G B B B B A | B B d B B d | g G A A2 G | (G3 G2) d | g d g f2 (e/d/) | 
 e d e c3/2 (B/ c) | d F G E2 A | G d d d d d | d d d d d d | d D D D D D | (D3 D2) |]  