Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/16
Q:1/4=90
M:2/4
K:G
['.d2(Bc) .d2.g2', "z2 defg abc'^c' d'=c'af d4 ^cdfa cdfa", "c2(^fa) .g2(EG c2)fa .g2(eg c'gc'e') (d'c'ba gfed)"  
X:1
L:1/16
Q:1/4=90
M:2/4
K:G
"^$" .d2(Bc) .d2.g2 | .d2(Bc) .d2.g2 | (fg^ga =gfed) | (gdef gbd'g') | .d2(Bc) d2g2 | 
 (b2c'b agfe) | d^dfe =dcBA | (GBdg) G2 z2 || defg abc'^c' | d'=c'af d4 | ^cdfa cdfa | 
 gabc' d'bgd | e2(c'b agfe) | d2(ba gfed) | e2ee a2a2 | d4 z cBc"^$" ||[K:C] .c2EG c2(^fa) | 
 .g2(EG c2)fa | .g2(eg c'gc'e') | (d'c'ba gfed) | .c2(EG c2)^fa | g2^g2a2b2 | c'2e'd' c'bag | 
 ^fedc"^D.C. $" BABc |]  