Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:4/4
K:D
['FD D2', 'fgaf defd'  
X:1
L:1/8
M:4/4
K:D
 d2 (3gfe dFFA | GEEG FD D2 | dfec dFFA | (3GFE AG FD D2 | d2 (3gfe dFFA | GEEG FD D2 | dfec dFFA | 
 (3GFE ce d4 || fgaf defd | cdef gece | fgaf defd | AFGE FD D2 | fgaf defd | cdef g4 | f2 ec defd | 
 AFGE FD D2 ||  