Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:2/4
K:G
['B(3(G/A/G/) FG BA c2 c(3(A/B/A/) FA ed', 'f2 e', 'cG c(3(e/f/e/) ga'  
X:1
L:1/8
M:2/4
K:G
|: B(3(G/A/G/) FG | BA c2 | c(3(A/B/A/) FA | ed .g2 | g(3(d/e/d/) ^cd | ba c'2 | c'(3(a/b/a/) df | 
 ggg z :| d(3(d/!fermata!e/d/) Bd | g"^>" f2 e | d(3(d/e/d/) ed | d"^>" B2 d | b(3(b/c'/b/) ag | 
 g"^>" f2 e | d"^>" c2 A | B/A/B/c/ de | d(3(d/e/d/) Bd | g"^>" f2 e | d(3(d/e/d/) ed | 
 d"^>" B2 d | b(3(b/c'/b/) ag | g"^>" f2 e | d"^>" c2 A | G/F/G/A/"^D.C." G2 |]: G | 
 cG c(3(e/f/e/) | ga .g2 | fG B(3(d/e/d/) | ce .G2 | cG c(3(e/f/e/) | ga g(3(g/a/g/) | 
 fG B(3(d/e/d/) | cec"^D.C." z :|  