Develop a musical composition using both the specified melodic theme and the alphabetical pattern naming.
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
['A FAdA BAGF GDed eB-Be dcdA BAGF', 'abaf dfaf']  
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
 A | FAdA BAGF | GDed eB-Be | dcdA BAGF | GBAG FD-D :| f | abaf dfaf | gfge beef | abaf dfaf | 
 (ef/g/) fe fd-df | abaf dfaf | gfge beef | fdec dBAG | Agfe fdd |]  