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
['B d']  
X:1
L:1/8
M:4/4
K:G
 D | G2 B d c A F D | G B d g d2 c B | c e A c B d G B | A c D F G4 | G2 B d c A F D | 
 G B d g d2 c B | c e A c B d G B | A c D F G3 | z | g b e g f a d f | e g c e d2 c B | 
 c e A c B d G B | A c D F G4 | g b e g f a d f | e g c e d2 c B | c e A c B d G B | A c D F G3 ||  