Develop a musical piece that combines the given theme and letter-structured outline.
X:1
L:1/8
M:4/4
K:D
['ed BG A2']  
X:1
L:1/8
M:4/4
K:D
 EG | A2 AB AG EF | G2 A2 B3 A | G6 dg | g2 f2 e3 f | ed BG A2 Bd | d6 Bd | e3 f ed BG | 
 A2 AB A3 G | E6 Bd | e2 ef ed BG | A2 AB A4- | A6 :|  