Design a musical composition incorporating the alphabetic expression of the chosen structure and the provided melodic theme.
X:1
L:1/8
M:9/8
K:D
['A2 A AFA (B2 d) f2 f', 'a2 a aba fed']  
X:1
L:1/8
M:9/8
K:D
 A2 A AFA (B2 d) | f2 f fed (e2 f) | aba afd cBA | def gec d3 :: a2 a aba fed | gfa ged cBA | 
 a2 a aba fed | def gec d3 :|  