Develop a tune according to the designated alphabetic musical pattern and the provided melody.
X:1
L:1/8
M:2/4
K:G
['A G']  
X:1
L:1/8
M:2/4
K:G
 G A B G | A2 A2 | B2 B2 | A B A G | E4 | G G2 A | B d B A | B d A G | E4 | A G E2 | G2 B A | 
 G B A G | A D2 E | G G A E | D4 |]  