Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:2/2
K:G
['GABd ea bgag'  
X:1
L:1/8
M:2/2
K:G
"Am" eA A2"^(G)" gAfA |"Am" eA A2"G" eAdA |"Am" eA A2 edea |"G" gedB GABd :|"Am" ea a2"G" bgag | 
"Am" eaag"G" (3(efg) dg |"Am" ea a2"G" b2 ag |"Em" e2 dB GABd |"Am" ea a2"G" bgag | 
"Am" eaaf"G" g2 ga |"G" b2 bg a2 ag |"^(Em)" eA A2 edBd |]  