Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:6/8
K:D
['FAA B2 G F2 A BAG FAA', 'afd g2 b'  
X:1
L:1/8
M:6/8
K:D
|: FAA B2 G | F2 A BAG | FAA def | gfg ecA | FAA BGG | FAA AA/B/c | dcd efg |1 fdc dAG :|2 
 fdc d2 |: A | d2 a afd | g2 b afe | dfa afd | g2 b a2 f | gab f2 a | efg =c2 B | ABA a2 g |1 
 fdc d2 :|2 fdc d3 ||  