Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/4
M:4/4
K:Edor
['A B d e f']  
X:1
L:1/4
M:4/4
K:Edor
 A | B d e f | e d A A | B d e f | (e d) B z | !fermata!d e d A | B/B/ B D2 | F/F/ A/A/ B F | 
 E2 E z |]  