Create a composition by utilizing the given alphabet-based musical pattern and the provided melodic theme.
X:1
L:1/8
M:6/8
K:D
['d3 A2 d BAA', 'd3 f2 d', 'aef d3 GBA dBd ecA', 'd3 a2 f dfd']  
X:1
L:1/8
M:6/8
K:D
|: d3 A2 d | BAA dBA | d3 A2 d | BAA aef | d3 A2 d | BAA dBA | g2 f efd | cAA aef :: d3 f2 d | 
 aef dBA | d3 f2 d | a2 a fef | d3 f2 d | aef dBA | g2 f efd | cAA aef :: d3 GBA | dBd ecA | 
 d3 GBB | Ace aef | d3 GBA | dBd ecA | g2 f efd | cAA aef :: d3 a2 f | dfd ecA | d3 a2 f | 
 dfd aef |1 d3 a2 f | dfd ecA | g2 f efd | cAA aef :|2 gfg efd | GBd ecA | g2 f efd | cAA aef ||  