Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:G
['D2 BG AGEG GEDB BAGB', 'd2 B/A/G'  
X:1
L:1/8
M:4/4
K:G
 D3 B/B/ BABG | D2 BG AGEG | GEDB BAGB | A/B/cBG AGE/F/G | D3 B/B/ BAGE | D2 BG AGEG | GEDB BAGB | 
 A/B/cBG AGE/F/G || d2 B/A/G dG B/A/G | d2 B/A/G AGE/F/G | d2 B/A/G dGB/A/G | A/B/cBG AGE/F/G | 
 d2 B/A/G d2 B/A/G | d2 B/A/G AGE/F/G | cBcd efge | d2 B/A/G AGE/F/G ||  