Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:2/4
K:D
['f/g/ a>b g>a f2 e>d d>c A>B', 'd3 A d>e f>g a2 a>g a>b'  
X:1
L:1/8
M:2/4
K:D
 f/g/ | a>b g>a | f2 e>d | d>c A>B | c2 d>e | d>c (3AGF | G2 FG | A<d d>e | d3 || A | d>e f>g | 
 a2 a>g | a>b a>f | g2 g>g | a>b a>g |{e} =f2 e>c | d>c A>G | A3 f/g/ | a>b g>a | f2 e>d | 
 d>c A>B | c2 d>e | d>c (3AGF | G2 FG | A<d d>e | d3 ||  