Develop a musical piece that combines the given theme and letter-structured outline.
X:1
L:1/8
M:2/2
K:G
['BcBA GBdB cBAG FGAc B3', 'dc B3']  
X:1
L:1/8
M:2/2
K:G
 BcBA GBdB | cBAG FGAc | B3 d cBAg | fgaf gfed | BcBA GBdB | cBAG FGAc | B3 G cBAG |1 FDEF G3 A :|2 
 FDEF GABc |: (d2 d)B (e2 e)d | cBcA d2 dc | B3 d cBAg | fgaf gfed |"^var." BcdB eBdB | 
 cBcA d2 dc | B3 G cBAG |1 FDEF GABc :|2 FDEF G3 A |]  