Construct a musical work using the letter-based representation of the specified pattern and the given melodic subject.
X:1
L:1/4
M:3/4
K:G
['B G G']  
X:1
L:1/4
M:3/4
K:G
 d3/2 e/d/c/ | B G G | A D D | B G G | d3/2 e/d/c/ | B G G | A D D | G z2 | A D D | B G G | A D D | 
 B G G | d3/2 e/d/c/ | B G G | A D D | G z2 |]  