Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:6/8
K:G
['E2 E E2 c AFD DEF'  
X:1
L:1/8
M:6/8
K:G
 g |"G" dBG GAB |"C" E2 E E2 c |"D" AFD DEF |"G" G2 G G2 g |"G" dBG Bcd |"C" E2 E E2 c | 
"D" AFD DEF |"G" GBA G2 :| g/a/ |"G" bgb"D" afd |"C" efg gfe |"G" dBg dBG |"D" AFD Dga | 
"G" bgb"D" afd |"Em" efg"D" gfe | faf"A" ge^c |"D" d3"^(G7)" de=f ||"C" ece"G" dBd | 
"C" cac"G" BgB |"Am" Ace"G" dBG |"D" FAF DEF |"G" GAB"Am" EFG |"^(D7)" ABc"D7" def | 
"G" gdB"D" cAF |"G" G3 G2 |]  