Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:2/4
K:G
['D GBBd dg g(f/g/) agec ed d/c/B/A/', 'Ad/d/ dA/A/ Aa/a/ af |{a}'  
X:1
L:1/8
M:2/4
K:G
 D | GBBd | dg g(f/g/) | agec | ed d/c/B/A/ | GBBd | dg{a} g(f/g/) | eddF | AGG :: A/A/ | 
 Ad/d/ dA/A/ | Aa/a/ af |{a} gf ge | f/g/a/g/ fA/A/ | Ad/d/ dA/A/ | Aa/a/ af |{a} gfge |1 d3 :|2 
 d/c/d/e/ d/c/B/A/ |]  