Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:D
['f<a{fg} f2', 'f2 e>d{g} d/{e}d/{c}d{g} B<d{gef} e2 |{g} A>B{Gdc}'  
X:1
L:1/8
M:4/4
K:D
{g} A>B{Gdc} d>e{g} f<a{fg} f2 |{gef} e>d{g} d/{e}d/{c}d{g} B<d{gef} e2 | 
{g} A>B{Gdc} d>e{g} f<a{fg} f2 |{g} f>e d/{e}B{g} A2{GAG} A2 :|{ag} a2{g} a>g{a} f<a{fg} f2 | 
{gef} e>d{g} d/{e}d/{c}d{g} B<d{gef} e2 |{ag} a2{g} a>g{a} f<a{fg} f2 | 
{g} f>e d/{e}B{g} A2{GAG} A2 ||{ag} a2{g} a>g{a} f<a{fg} f2 | 
{gef} e>d{g} d/{e}d/{c}d{g} B<d{gef} e2 |{g} A>B{Gdc} d>e{g} f<a{fg} f2 | 
{g} f>e d/{e}B{g} A2{GAG} A2 ||  