Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:2/2
K:D
['A2 F2 ABAF E2', 'af a2'  
X:1
L:1/8
M:2/2
K:D
 fe | d2 B2 A2 F2 | ABAF E2 AB | d2 dd edeg | fedA BABc | d2 B/d/B A2 F2 | ABAF E2 FE | 
 D2 dA Bded | [de] [df]2 [de] [df]2 :: de | f2 af a2 aa | beae fe d2 | f af a2 ff | eBdB ABde | 
 f2 af a2 aa | beae fdBd | fgfe dBAB | e d2 d [df]2 :|  