Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/16
Q:1/8=180
M:2/4
K:D
['AB Acef efge fadc d2cd e2fa efaf', 'gedB G2>A2'  
X:1
L:1/16
Q:1/8=180
M:2/4
K:D
|: AB | Acef efge | fadc d2cd | e2fa efaf | gage dBFG | BABc defg | fd2c d2cd | edfd efdB | 
 A2 z2 z2 :: cd | e2a2 a2>f2 | gedB G2>A2 | Bdga gfag | fd2c d2cd | e2a2 abaf | gedB G2>A2 | 
 Be2f edBG | A2 z2 z2 :|  