Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/4
M:4/4
K:D
['D A A B B']  
X:1
L:1/4
M:4/4
K:D
 D | A A B B | A3/2 G/ F D | A A B B | A2 F D | A A B B | A3/2 G/ F d/d/ | A2 F d/d/ | A2 F |]  