Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
M:2/4
K:D
['A>A A>A A>G F>A A>A B>F A2', 'z2 F4 [DA]4 (3ABA G>F A2 G2'  
X:1
L:1/8
M:2/4
K:D
 A>A A>A | A>G F>A | A>A B>F | A2 G2 | G>G G>G | G>F E>A | A>A B>c | d2 z2 :| F4 | [DA]4 | 
 (3ABA G>F | A2 G2 | e2 d2 | c3 B | A>A (3ABc | d2 z2 |]  