Compose a piece by incorporating the set musical pattern in its alphabetical form along with the given melodic subject.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['AGAG EFGB A^GAB cded cBcA EFGa |1', 'gedB cA']  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
"^A dorian" AGAG EFGB | A^GAB cded | cBcA EFGa |1 gedB cAdc :|2 gedB cA A2 || ec c2 ecgc | 
 BGdG BGdG | ec c2 egfa | gedB cA A2 | agea gedB | cBcG EFGB | A^GAB ceaf | gedB cA A2 |]  