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:12/8
K:G
['B^AB d2 B', 'B2 e e2 ^d']  
X:1
L:1/8
M:12/8
K:G
|: B3 B^AB d2 B G2 =A | B^AB d2 B =A2 B G2 A | B2 B B^AB d2 B G2 =A |1 B2 e e2 ^d e2 g fe=d :|2 
 B2 e e2 ^d e3- e2 =d |: B2 g g2 f g2 e dBA | B2 g g2 f g3- g2 a | bag agf gfe ff/e/d |1 
 B2 e e2 ^d e3- e2 =d :|2 B2 e e2 ^d e2 g fe=d ||  