Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['fA e>dBe', 'e e d>dBe e2 de e3/2dBe e2'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
 e | fA A/A/A"^tr" e>dBe | fA A/A/A"^tr" e2 de | fA A/A/A"^tr" e>dBe | aedf"^tr" e2 e :| e | 
 fdef"^tr" d>dBe | fdfd"^tr" e2 de | fdfd"^tr" e3/2dBe | aefd"^tr" e2 d :|  