Develop a musical piece that combines the given theme and letter-structured outline.
X:1
L:1/8
M:2/2
K:G
['G2 DG BAGB dBeB dBAB d2 Bd', 'dggf g2 dg g2 bg']  
X:1
L:1/8
M:2/2
K:G
 G2 DG BAGB | dBeB dBAB | d2 Bd eBdB | AcBA GEDE | G2 DG BAGB | dBeB dBAB | d2 Bd efge | 
 dBAB G3 z :: dggf g2 dg | g2 bg aged | eaag a2 ea | a2 bg ageg | dggf g2 dg | g2 bg ageg | 
 d2 Bd efge | dBAB G3 z :|  