Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/4
M:2/2
K:D
['d e', 'A A'  
X:1
L:1/4
M:2/2
K:D
 A | d c d e | f2 f f/g/ | a d B d | c3/2 B/ A A | d c d e | f d g f | e d e c | d2 D :: F/G/ | 
 A A A B | A2 A F/G/ | A A A B | A3 A | d c d e | f d g f | e d e c | d2 d :|  