Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:2/2
K:D
['dAFA DAFA dAGA', 'afdf .A>(dcd) .F>(dcd) .A>(dcd)'  
X:1
L:1/8
M:2/2
K:D
{g} fe | dAFA DAFA | dAGA DAFA | (3(Bcd) ef gefd | edcB Agfe | dAFA DAFA | dAGA D2 FA | 
 B>ged cABc | d2 f2 d2 :: (fg) | afdf .A>(dcd) | .F>(dcd) .A>(dcd) | (3(Bcd) ef gefd | 
 cdef e2 (b^g) | afdf .A>(dcd) | .F>(dcd) .A>(dcd) | B>ged cABc | d2 f2 d2 :|  