Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:3/8
K:G
['d>ed BAB GFG D2 z']  
X:1
L:1/8
M:3/8
K:G
 d>ed | BAB | GFG | D2 z | d>ed | BAB | GFG | D2 z | G>FG | A>GA | ddd | A2 c | B>AG/G/ | A2 D | 
 G2 G | G3 |]  