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
['eg g2'  
X:1
L:1/8
M:2/2
K:G
"Am" EA A2 A2 Bd | eg g2 egdc |"G" BG G2 G2 GE |"Em"{G} EDB,D"G" GABG |"Am" EA A2 A2 Bd | 
 eg g2 egdg |"G" eg g2 dgbg |"Em"{a} gedB"Am"{d} BA A2 ::"Am" a2 ea{b} ageg | agbg agef | 
"G" g2 dg Bgdg |"Em"{a} geaf"G" gedg |"Am" a2 ea{b} ageg | agbg ageg |"G" dg g2 dgba | 
"Em" gedB"Am"{d} BA A2 :|  