Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:4/4
K:D
['defd BAFB AD (3FED FA A2 defd', 'ABdf e2'  
X:1
L:1/8
M:4/4
K:D
 defd BAFB | AD (3FED FA A2 | defd BAFA |1 Beed egfe :|2 Beed e2 df || a2 ba fd d2 | fbba bafa | 
 afbf afdB |1 ABdf e2 df :|2 ABdf e2 (3ABc ||  