Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/4
K:Bb
['z3/4 B/<A/B/4', '=E) z'  
X:1
L:1/8
M:2/4
K:Bb
 [Fd]2 [^Fd]2 | [Gd]2 [=Fd]2 | z3/4 c/<=B/c/4 a/>g/e/>c/ | G4 | [Fc]2 [Gc]2 | [Ac]2 [Ec]2 |1 
 z3/4 B/<A/B/4 f/>d/B/>G/ | F[Gg] [Ff][Ee] :|2 z3/4 B/<A/B/4 A/>c/f | BF B z || (d2 =E) z | 
 (_d2 =E) z | (=d2 =E) z | z3/4 B/<A/B/4 .e.d | (d2 =E) z | (_d2 =E) z | (=d2 =E) z | 
 z3/4 A/<^G/A/4 =gf | (f2 G) z | (f2 B) z | (f2 A) z | z3/4 A/<^G/A/4 BA | (d2 G) z | (c2 C) z | 
 (c2 F) z | z [Gg][Ff] [_E_e] ||  