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:6/8
K:G
['E ABG Azg ede gdB G3 BAG']  
X:1
L:1/8
M:6/8
K:G
|: E | ABG Azg | ede gdB | G3 BAG | dB/A/G AGE | ABG A z g | edB def | g z e fdB | BAG A z :|  