Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:4/4
K:Dmix
['fddc ddde fddd cdfg addd d2 ag', 'dcga fBBA BBBd BBBB cccd fBBA B2'  
X:1
L:1/8
M:4/4
K:Dmix
 fddc ddde | fddd cdfg | addd d2 ag | eccc dcga :| fBBA BBBd | BBBB cccd | fBBA B2 ag | 
 eccc dcgA :|  