Craft a composition that integrates the assigned alphabet-related musical pattern and the provided melodic theme.
X:1
L:1/8
Q:1/8=320
M:4/4
K:D
['A2 dB', 'ed B2']  
X:1
L:1/8
Q:1/8=320
M:4/4
K:D
"D" A2 FA A2 dB | A2 FA"Em" BE E2 |"D" A2 FA A2 Bd | egfd"Bm" edBd |"D" A2 FA A2 dB | 
 A2 FA"Em" BE E2 |"D" DEFG AFAB | defd"Bm" edBd ||"D" ADFD A2 dB | ADFD"Em" BE E2 |"D" ADFD A2 Bd | 
 egfd"Bm" edBd |"D" ADFD A2 dB | ADFD"Em" BE E2 |"D" DEFG AFAB | defd"Em" efge || 
"D" a2 fd"Em" edef |"D" a2 fd"Em" ed B2 |"D" a2 fd"Em" edef |"D" gefd"Em" ed B2 | 
"D" a2 fd"Em" edef |"D" a2 fd"Em" ed B2 |"D" faaf"Bm" bfaf |"D" gefd"Bm" edBd || 
"D" f2 df"Em" e2 de |"D" f2 df"Bm" edBd |"D" f2 df"Em" e2 de |"D" gefd"Bm" edBd | 
"D" f2 df"Em" e2 de |"D" f2 df"Bm" edBd |"D" faaf"Bm" bfaf |"D" gefd"Bm" edBd ||"D" Adfd edfd | 
 Adfd"Bm" edBd |"D" Adfd edfd |"D" gefd"Bm" edBd |"D" Adfd edfd | Adfd"Em" ed B2 | 
"D" faaf"Bm" bfaf |"D" gefd"Bm" edBd |]  