Develop a musical composition using both the specified melodic theme and the alphabetical pattern naming.
X:1
L:1/8
M:9/8
K:D
['A2 d dcd', 'afd dcd afd Bcd']  
X:1
L:1/8
M:9/8
K:D
 A2 d dcd A3 | Bcd efg fed | A2 d dcd G2 B | Agf edc d3 :: afd dcd afd | Bcd efd cBA | 
 afd dcd afd | Bcd edc d3 | afd dcd afd | Bcd efd cBA | A2 d dcd G2 B | Agf edc d3 ||  