Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:2/2
K:D
['D4 FDGE A4 BABc d2 ef agfe', 'fa gfed'  
X:1
L:1/8
M:2/2
K:D
 D4 FDGE | A4 BABc | d2 ef agfe | dfed dcBA | D4 FDGE | A4 BABc | d2 ef agfe | dfec d4 :| 
 f2 fa gfed | d2 de dcBA | fd fa gfed | bagf f2 e2 | fdfa gfed | dced dcBA | D2 FA dfaf | 
 gedc d4 :|  