Compose a piece by incorporating the set musical pattern in its alphabetical form along with the given melodic subject.
X:1
L:1/8
M:4/4
K:G
['G4 G2 BG', 'c2 Bd', 'D4 d3 B c3 B AGEG A3']  
X:1
L:1/8
M:4/4
K:G
 G4 G2 BG | AGED AdBA | G4 G2 BG |1 AGEG D3 A :|2 AGGE D3 E || GE E2 c2 Bd | AGEG AdBA | 
 GE E2 c2 Bd |1 AGGE D3 E :|2 AGGE D4 || d3 B c3 B | AGEG A3 c | BddB c2 Bd | AGGE D4 | d3 B c3 B | 
 AGEG A3 c | Bddd edge | dcBc A2 BA ||  