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
['BGAG EGDG', 'G2 Bd']  
X:1
L:1/8
M:4/4
K:G
 BGAG EGDG | EAAG A2 GA | BGAG EGDG | EG G2 EG G2 :: G2 Bd edBG | GbdB A2 A2 |1 G Bd edBG | 
 dBAc BG G2 :|2 G2 Bd efga | bgaf gfed :|  