Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
M:2/2
K:D
['A3 B ADFA BdAF E2 FE D', 'D2 d3 f affe f2 bf afef'  
X:1
L:1/8
M:2/2
K:D
|: A3 B ADFA | BdAF E2 FE | D A,3 DFAF | GBAG FDDF | A3 B ADFA | BdAF E2 FE | D B,3 A,2 dB | 
 AFEG FD D2 :: d3 f affe | f2 bf afef | d f3 adfa | bfaf e4 | fgab a f3 | gbeg fedB | ABde f2 dB | 
 AFEG FD D2 :|  