Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/16
M:2/4
K:C
['ef g2g2 gag^f (g4 e) z!p! e2', '(Gf)(fd) (dB)(BG)', 'aba^g a4'  
X:1
L:1/16
M:2/4
K:C
!f! ef | g2g2 gag^f | (g4 e) z!p! e2 | f2f2 g2g2 | e>fd>e c2 E>F | G2>G2 G>AG>^F | (G4 E) z E2 | 
 F2F2 G2G2 | E>GA>B c2 |] !fermata!G2 | (Gf)(fd) (dB)(BG) | (Gg)(ge) (ec)(cG) | (Gf)(fd) (dB)(BG) | 
 (Ge)(ec) (cG)(GE) |!f! E^DE^F ^GEFG | A^GAB cABc | B2g2 A2^f2 | gGAB cd"^D.C."e=f |]!p! d2 | 
 d6 e2 | d2g2b2g2 | aba^g a4 | aba^g a4 |{E} e6 ^d2 | e2ed cBAG | ^F2ed F2ed | G2AB cd"^D.C."ef |]  