Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:2/2
K:C
['(BG) A2 AB AGED EGAB{d} c2 (BG)', 'ecgc eccg'  
X:1
L:1/8
M:2/2
K:C
 (BG) | A2 AB AGED | EGAB{d} c2 (BG) | AcBG AGEa | gedB{d} c2 :: (cd) | ecgc eccg | ecge d2 (cd) |1 
 ecgc eccg | a^fge d2 :|2 e^f g2 ea a2 | gedB{d} c2 |]  