Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/4
M:4/4
K:G
['d d c']  
X:1
L:1/4
M:4/4
K:G
 G/A/ | B/B/ B B B | A B d c/B/ | A/A/ A A A | G A B G/B/ | d d c d | B3/2 A/ B c/e/ | d d c d/c/ | 
 B2 z |]  