Develop a musical work by incorporating the assigned alphabetic representation and given melody.
X:1
L:1/8
M:2/4
K:G
['G A2']  
X:1
L:1/8
M:2/4
K:G
 d g e d | d G A2 | d d/ e/ d G | A2 z2 | A3/2 B/ B d | B A G F | E G A2 | B3/2 G/ F E | D4 |]  