Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:G
['g2 dg']  
X:1
L:1/8
M:4/4
K:G
 e | g2 dg e2 dB | g2 dg eaab | g2 dg e2 dB | A2 GA BGGe | g2 dg e2 db | g2 dg eaag | bgaf gfed | 
 efga babg | eddB dedB | A2 GA BAAg | eddB dedB | A2 GA BGGg | eddB dedB | A2 GA BAAe | 
 g2 bg e2 dB | A2 GA BGG ||  