Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['FBBA BcdB cBAc', 'd2 dc', 'bB B2'  
X:1
L:1/8
M:4/4
K:D
 FBBA BcdB | cBAc ecBA | FBBA BcdB | cBAc B2 BA | FBBA BcdB | cBAc ecBA | FBcB Adfd | ceac BABc || 
 d2 dc dfed | (3cBA eA fAec | d2 dc def^g | afec dB B2 | d2 dc dfed | (3cBA eA fAec | d2 ce def^g | 
 afec dB B2 || bB B2 bB B2 | cBAc ecBA | bB B2 bB B2 | cBAc Bcde | (3fga ba bafg | (3agf ec ABce | 
 d3 e fgaf | ecAc B2 BA ||  