Compose a piece by incorporating the set musical pattern in its alphabetical form along with the given melodic subject.
X:1
L:1/4
M:4/4
K:G
['d B']  
X:1
L:1/4
M:4/4
K:G
 D | G3/2 D/ G A | B A G B/c/ | d3/2 d/ d B | A2 z G/B/ | d d d B | e2 d B/c/ | d d B A | G2 z |]  