Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
M:4/4
K:G
['g2 dc B2 Gc (3Bcd', 'BGdG eGdG'  
X:1
L:1/8
M:4/4
K:G
 f | g2 dc B2 Gc | (3Bcd GB cAAf | g2 dc B2 Gc | (3Bcd Ac BGG :| c2 | BGdG eGdG | 
 Bd e/d/c/B/ cAAc | BGdG eGdG | (3Bcd Ac BGGc | BGdG eGdG | Bd{e} dc/B/ cAAc | BdcB cdef | 
 gdec BGG |]  