Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:6/8
K:D
['def edc B3 d3', 'afa afa'  
X:1
L:1/8
M:6/8
K:D
 A | def edc | B3 d3 | ABA GFE | FGF E2 D | def edc | B3 d3 | ece g2 e | f3 e2 :: a | afa afa | 
 a2 A a2 A | geg geg | g2 G g2 G | afa afa | bag fed | e/f/gf edc |{c} d3 D2 :|  