Write a musical work incorporating the specified theme and letter-based framework.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['AF A2 (3Bcd AF DFAF GFEF DFAF', 'defg a2 fa Adef']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 dB | AF A2 (3Bcd AF | DFAF GFEF | DFAF DGBd | cABc dcdB | AF A2 (3Bcd AF | DFAF GFEF | DFAF DGBd | 
 cABc defg || a2 fa Adef |{a} gfed cdef | g2 gf gbag | fdec defg | a2 fa Adef | gfed cdef | 
 g2 gf g2 ga | fdec d3 B |]  