Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:2/4
K:Dmin
['BA ^G3 A', 'cB AG FE F>G AF c>B AG'  
X:1
L:1/8
M:2/4
K:Dmin
 A2 BA | ^G3 A | d>f ed | BG cB | AF BA | ^G3 A | G>F ED |1 E F2 G :|2 E4 |:[K:G] F>G AF | c>B AG | 
 ed cB | AG FE | F>G AF | c>B AG | e>d cB | A4 :|  