Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:C
['AGAB TcBcA GECE GFGB AGAB TcBca', 'gc({d} (3cBc)'  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:2/2][K:C]SOSOO .!fermata!PMTuCO(McB)"^Segno" | AGAB TcBcA | GECE GFGB | AGAB TcBca | 
 gedB cedB | AGAB TcBcA | GECE GFGB | AGAB TcBca | gede cdef"^Fine" || g>c({d} (3cBc) gcac | 
 gc({d} (3cBc) Bcdf | gc({d} (3cBc) Tagaa | gede cdef | gc({d} (3cBc) gcac | gc({d} (3cBc) BcdB | 
 AGAB cdea | gede ced"^D.S. al Fine" B |]  