Craft a composition using the given motif while maintaining the musical form outlined by alphabet characters.
X:1
L:1/4
M:4/4
K:D
['A A']  
X:1
L:1/4
M:4/4
K:D
 D | D F/G/ A E/G/ | F E D A | A/d/c/B/ c B | A2 z A | A A d B | A2 F F/G/ | A A d B | A2 F B/A/ | 
 G3/2 F/ G A | F2 z A | A A d B | A2 F F/G/ | A A d B | A2 F B/A/ | G3/2 F/ G A | F2 z |]  