Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:C
['CccG ECCE', 'EF GECE G3 E FD_B,D F2', 'DddA FDDF', 'FG AFDF A3 F GE=CE G2'  
X:1
L:1/8
M:4/4
K:C
[M:4/4][K:C] e g ue f B !>!ae e Ca!p!e Befdde[Q:1/8=360] .G,2 | CccG ECCE | D_BBF D_B,B,D | 
 CccG ECCE | e2 d2 c3 D | EGcG ECCE | D_BBF D_B,B,D | CccG ECCE | e2 d2 c2 |] EF | GECE G3 E | 
 FD_B,D F2 EF | GECD EFGE | GFDB, C2 EF | GECE G3 E | FD_B,D F2 ED | CEDF EGFA | GEFD C4 |] 
[K:D]"^setting in D" A,2 | DddA FDDF | E=ccG E=CCE | DddA FDDF | f2 e2 d3 E | FAdA FDDF | 
 E=ccG E=CCE | DddA FDDF | f2 e2 d2 |] FG | AFDF A3 F | GE=CE G2 FG | AFDE FGAF | AGE=C D2 FG | 
 AFDF A3 F | GE=CE G2 FE | DFEG FAGB | AFGE D4 |]  