Develop a musical piece that combines the given theme and letter-structured outline.
X:1
L:1/8
M:4/4
K:G
['G2 (GA) B2']  
X:1
L:1/8
M:4/4
K:G
 D2 | G2 (GA) B2 (dB) | B2 A2 A2 BA | G2 (GA) B2 d2 | e2 A2 A2 | (Bc) | d2 d2 d2 (Bd) | 
 e2 f2 g2 (ge) | (dB)(AG)(Ac)(BA) | G2 E2 E2 ||  