Develop a musical composition using both the specified melodic theme and the alphabetical pattern naming.
X:1
L:1/8
Q:3/8=128
M:6/8
K:G
['ABA GAG GBd edd gdB', 'gfg efg']  
X:1
L:1/8
Q:3/8=128
M:6/8
K:G
 G/A/ | MB3 ABA | GAG GBd | edd gdB | BAG Adc | BcB ABA | GAG GBd | edd gdB | cAF G2 :| d | 
 gfg efg | fag fed | gfg efg | afd d2 c | BcB ABA | GAG GBd | edd gdB | cAF G2 :|  