Craft a composition that integrates the assigned alphabet-related musical pattern and the provided melodic theme.
X:1
L:1/8
M:2/4
K:G
['D GBBA AGGG BGdB A2 z G']  
X:1
L:1/8
M:2/4
K:G
 D | GBBA | AGGG | BGdB | A2 z G | dddd | d2 B2 | g2 e2 | d2 Bd | cAGF | GBdB | cAGF | G2 z |]  