Create a composition by utilizing the given alphabet-based musical pattern and the provided melodic theme.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['AGAB cBcd edef', 'edef g2']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
"^A dorian" AGAB cBcd | edef g3 F | G2 AF G2 DF | GABc dBAG | AGAB cBcd | edef g2 AB | cBAc BAGB | 
 A2 AG A2 e2 :| e2 a2 a3 g | abag edcd | edef g2 ag | edcd e4 | AGAB c3 d | edef g2 AB | 
 cBAc BAGB | ABAG A4 :|  