Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
['A2 d2 c2']  
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
 A2 d2 c2 d2 | edef e2 f2 | A2 d2 c2 de | Te4 d4 |:  