Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
Q:3/8=90
M:6/8
K:D
['d2 A ABA f2 d d2 B', 'A DCD E2 A'  
X:1
L:1/8
Q:3/8=90
M:6/8
K:D
 d2 A ABA | f2 d d2 B | AFA GFE | D2 D D3 :: A | DCD E2 A | DCD E2 A | AGF E2 D | C2 A, A,2 A | 
 DCD E2 A | DCD E2 A | AGF EDC | D2 D D2 :|  