Develop a tune according to the designated alphabetic musical pattern and the provided melody.
X:1
L:1/8
Q:1/8=180
M:2/2
K:D
['BAFE DFAc dcBA dfaf', 'defg afdf']  
X:1
L:1/8
Q:1/8=180
M:2/2
K:D
 (3ABc | d3 A BAFE | DFAc dcBA | dfaf bagf | eagb a2 (3ABc | dcdA BAFE | DFAc dcBA | dfaf bgec | 
 dfec d2 || A2 | defg afdf | afgf afdc | defg afdf | gfed c2 (3ABc | defg afdf | afgf afdf | 
 gfed cABc | dfec d4 |]  