Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/4
Q:1/2=100
M:2/2
K:D
['f/e/ d B A F A/B/A/F/ A'  
X:1
L:1/4
Q:1/2=100
M:2/2
K:D
|:"^A" f/e/ |"D" d B A F |"^/" A/B/A/F/ A A |"D" d d"Bm" f/e/d/e/ |"Em" f e"A7" e f/e/ | 
"D" d B A F |"^/" A/B/A/F/ A A |"G" d c/d/"A7" e d/e/ |"D" f d d ::"^B" d/e/ |"D" f e f g | 
"^/" a b/a/ g f |"Em" e b b a |"A7" b e e f/e/ |"D" d B A F |"^/" A/B/A/F/ A A | 
"G" d c/d/"A7" e d/e/ |"D" f d d :|  