Craft a musical work based on the specified structure and given theme.
X:1
L:1/8
M:4/4
K:G
['(3GGG G2', '(3ddd d2'  
X:1
L:1/8
M:4/4
K:G
 (3GGG G2 (3GGG G2 | BGBd gdBG | (3DDD D2 (3DDD D2 | FDFA dAFD | (3GGG G2 (3GGG G2 | BGBd g2 f2 | 
 efgf e2 d2 | (3cde (3ABc d4 :: (3ddd d2 (3ddd d2 | edef gfga | gagf edcB | ABcA GFED | EGEG DGFG | 
 EGFG DGFG | DGAB cdef | gedB G2 G2 :|  