Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:4/4
K:D
['ABdD DBAD', 'efaA AfeA']  
X:1
L:1/8
M:4/4
K:D
|: ABdD DBAD | ABAG EG A2 | ABdD DBAD | ABAG EE D2 | ABdD DBAD | DBAG EG A2 | ABde fgfe | 
 de f2 d2 d2 :: efaA AfeA | Afed Bd e2 | efaA AfeA | efed BB A2 | efaA AfeA | efed Bd e2 | 
 efga gf e2 | de f2 d2 d2 :|  