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:9/8
K:C
['B E2 B BAG', 'f2 d']  
X:1
L:1/8
M:9/8
K:C
[K:G] uG2 B E2 B BAG | F2 A D2 F AGF | G2 B E2 B BAG | BdB AGF E2 z | G2 B E2 B BAG | 
 F2 A D2 F AGF | G2 B E2 B BAG | BdB AGF E2 z :| e2 f g2 a baf | f2 d d2 f afd | e2 f g2 a baf | 
 f2 d afd e2 B | e2 f g2 a baf | f2 d d2 f afd | g2 e f2 d e2 c | d2 B AGF E z z :|  