Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:4/4
K:G
['', 'G3 F GABG AGEG GABd (3ddd gd', 'dBAB c2 ec B2 dB BAAG AGEG'  
X:1
L:1/8
M:4/4
K:G
 D |: G3 F GABG | AGEG GABd | (3ddd gd edBd | (3ddd ed{e} dBAE | G3 F GABG | AGEG GABd | 
 (3ddd gd edBG |1 A2 G2 GEDE :|2 A2 G2 GABd || e3 e edBd | d3 d dBAB | c2 ec B2 dB | BAAG AGEG | 
 G3 F GABG | AGEG GABd | (3ddd gd edBG | A2 G2 GABd :|  