Create a composition by utilizing the given alphabet-based musical pattern and the provided melodic theme.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['d B2 d', 'a f2 a']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 B | AFE D2 d | B2 d B2 d | AFE D2 F | EFE E2 B | AFE D2 d | B2 d B2 d | F2 A E2 F | DED D2 :| 
 f/g/ | afd d2 a | f2 a f2 a | afd d2 f | efe efg | afd B2 d | A2 d F2 A | B2 d F2 E | DED D2 :|  