Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['F2 A', 'd2 B'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 F2 A AFA | BGB AFD | F2 A AFD | EFE E2 D | F2 A AFA | BGB AFD | FAF GEC | DED D3 :| d2 B cBA | 
 B/c/dB AFD | d2 B cAF | EFE EFA | d2 B cBA | B/c/dB AFD | FAF GEC | DED D3 :|  