Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
M:4/4
K:C
['F2 A ABA d2 A Bcd', 'def g2 e a2 f'  
X:1
L:1/8
M:4/4
K:C
[M:9/8][K:D] .abcG | F2 A ABA d2 A | Bcd e2 d cBA | F2 A ABA d2 A | Bcd edc d2 :: g | 
 f2 d def g2 e | a2 f efd cBA | fef def g2 e | a2 f edc d2 :|  