Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:2/2
K:G
['G3 B d2', 'a2 (ge)'  
X:1
L:1/8
M:2/2
K:G
 G3 B d2 (BA) | BcBA BcBA | G3 B d2 (BG) | FADA FADA | G2 GB d2 Bd | eBBd g2 (fg) | efde Bddf | 
 e2 dB (BA) A2 || d>g (3.g.g.g a2 (ge) | d2 BA GB B2 | d>g (3.g.g.g a2 (ge) | d2 BG FA A2 | 
 dggg a2 (ge) | dBBd g2 (fg) | efde Bddf | e2 dB (BA) A2 |]  