Develop a tune according to the designated alphabetic musical pattern and the provided melody.
X:1
L:1/8
Q:1/8=120
M:4/4
K:D
['e2 e>e e2 a>g', 'dcdB ABAG F2 A2', 'd2 d>d']  
X:1
L:1/8
Q:1/8=120
M:4/4
K:D
 (3ABc | d2 d>d dAFA | d2 d>d d2 d>e | f2 f>a gfed | e2 e>e e2 a>g |"^5" fddf geeg | f<aAA A2 cd | 
 e2 e>e e2 a>g | f2 d>d d2 :| A2 |"^9" d2 fe dcdB | ABAG F2 A2 | d2 fe defg | e2 a>a agfe | 
"^13" d2 fe dcdB | ABAG F2 A2 | agfe fedc | d2 d>d d2 :| fg |"^17" a>bag fgfe | d3 e fdef | 
 gagf efed | c3 A BABc |"^21" d2 d>d cecA | BABc d3 b | abaf gecA | d2 d>d d2 :|  