Develop a musical work by incorporating the assigned alphabetic representation and given melody.
X:1
L:1/8
Q:1/2=104
M:2/2
K:G
['D2 G3 A B2 AG AGAB c2', 'B2 BA GABG']  
X:1
L:1/8
Q:1/2=104
M:2/2
K:G
 D2 | G3 A B2 AG | AGAB c2 BA | G3 B d2 BG | FADA FA D2 | G3 A B2 AG | AGAB c2 BA | BdBG AcAF | 
 G2 GF G2 :| Bc | d2 dc Bc d2 | c2 cB AB c2 | B2 BA GABG | AGFE DEFD | B2 BA GABG | c2 cB ABcA | 
 BdBG AcAF | G2 GF G2 :|  