Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/16
M:2/4
K:G
['', 'B2>c2 dedc B2G2 D2G2 B4 BdcB A2G2', 'd2B2 e2B2'  
X:1
L:1/16
M:2/4
K:G
 B2>c2 |: dedc B2G2 | D2G2 B4 | BdcB A2G2 | c4 A2>B2 | cdcB A2F2 | D2F2 A4 | BcBA G2A2 | B4 B2>c2 | 
 dedc B2G2 | D2G2 B4 | BdcB A2G2 | e4 e2>f2 | gecG EGce | edBG DGBd | d2^c2 =c2fa | g4 B2>c2 :: 
 d2B2 e2B2 | d2B2 e2B2 | d2^cd ed=cB | c4 A2>B2 | c2A2 d2A2 | c2A2 d2A2 | c2Bc dcBA | B4 B2>c2 | 
 d2B2 e2B2 | d2B2 e2B2 | g2fg agfg | e4 e2>f2 | gagf egfe | edBG DGBd | d2^c2 =c2fa |1 g4 B2>c2 :|2 
 g4 z4 ||  