Create a composition by utilizing the given alphabet-based musical pattern and the provided melodic theme.
X:1
L:1/8
M:4/4
K:D
['agfd e2 dB A F3 DFAd', "d2 a2 fd Adfd e3 d c'"]  
X:1
L:1/8
M:4/4
K:D
 agfd e2 dB | A F3 DFAd | B G3 EAAG | F A3 F A3 | agfd e2 dB | A F3 DFAd | BGGF G2 ag | 
 faeg fe d2 :| a2 fd Adfd | e3 d c' a3 | a2 fa bged | Beed efge | f3 a g3 e | f2 ef dBAG | 
 F A3 faag | faeg fe d2 :|  