Develop a musical composition using both the specified melodic theme and the alphabetical pattern naming.
X:1
L:1/8
M:2/2
K:D
['AFDF A d2 d2', 'd2 dgfd fagf efge fdfa gfed g']  
X:1
L:1/8
M:2/2
K:D
 FG | AFDE AFDF | A d2 d2 cB | AFDF AFDF | G E2 E2 FG | AFDF AFDF | A d2 d2 g | fga fdeg c2 | 
 d2 d2 d2 :: dgfd fagf |"^#" e"^#"d"^#"c"^#"d efge | fdfa gfed |"^#" c"^#"B"^#"A"^#" g | 
 dfa gfed"^#" c"^#"def | gefa | def"^#" e"^#" c"^#" d"^#"d"^#"d :|  