Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/16
Q:1/4=90
M:2/4
K:G
['Bc Ggec dcAc cBGB AFGE Ggec dcAF', 'c2>A2 FA ed d2>B2', 'dAFD B2A2 Adfa'  
X:1
L:1/16
Q:1/4=90
M:2/4
K:G
"^A" Bc | !wedge!d2(dB) Ggec | !wedge!d2(dB) !wedge!G2(Bd) | dcAc cBGB | AFGE !wedge!D2(Bc) | 
 !wedge!d2(dB) Ggec | !wedge!d2(dB) !wedge!G2(Bd) | dcAF | DEFD | G2B2G2!fine! |]"^B" AB | 
 c2>A2 FA ed | d2>B2 .G2(Bd) | dcAc cBGB | AFGE !wedge!D2(AB) | c2>A2 FA ed | d2>B2 GBdg | 
 (gf)(fe) (ed)(d^c) | e4 d2!D.C.! |]"^C" df | a2>f2 dAFD | B2A2 Adfa | ageg gfed | ^caba a2(df) | 
 a2>f2 dAFD | B2A2 Adfa | gfed fed^c | d^cde d4!D.C.! |]  