Craft a musical work based on the specified structure and given theme.
X:1
L:1/8
M:2/4
K:G
['d BGBd g2 fd e2 cA BdBG', 'd3 D DFAc |{c} B2 AG cABG'  
X:1
L:1/8
M:2/4
K:G
 d | BGBd | g2 fd | e2 cA | BdBG | a2 fd | A2 ge | fde^c | d3 :: D | DFAc |{c} B2 AG | cABG | 
{g} f2 ed | gdec | BGec | BGAF | G3 :|  