Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:6/8
K:D
['FDD AFD FDF AGF', 'F2 A ABA ABA AGF G2 A'  
X:1
L:1/8
M:6/8
K:D
 FDD AFD | FDF AGF | GEE BEE | FDF BAG | FDD AFD | FDF AGF | G2 A B2 A | BdF E2 D :: F2 A ABA | 
 ABA AGF | G2 A BcB | BcB BAG | F2 A ABA | ABA AGF | G2 A B2 A | BdF E2 D :|  