Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:2/4
K:G
['g2 dc B2 AG', 'BGG B DGBG AGBG DGBG cAAB (cd)(ef)'  
X:1
L:1/8
M:2/4
K:G
 f | g2 dc | B2 AG | FGAB | cAAf | g2 dc | B2 AG | FGAB | BGG :: B | DGBG | AGBG | DGBG | cAAB | 
 (cd)(ef) | gdcB | cAdc | BGG :|  