Arrange a song combining the mentioned alphabetical representation of a musical pattern and the given melodic theme.
X:1
L:1/8
Q:1/2=104
M:4/4
K:D
['F<A A2', 'F<EE g Tf2 e>f e>fe>B d>ef>e d>Bd>A', "F<EE a f<aa>b a>ba>e f<bb>c' b>c'b>a f>ae>f", 'e a f2 Te>d e>f b2 a<ff>e']  
X:1
L:1/8
Q:1/2=104
M:4/4
K:D
 A | (F>EFD) F<A A2 | d>AB>A d>AB<d | TF>EFD F<A A2 | B>dA>d F<EE :| g | Tf2 e>f e>fe>B | 
 d>ef>e d>Bd>A | B/B/B b>a f2 ed | B>dA>d F<EE :| a | f<aa>b a>ba>e | f<bb>c' b>c'b>a | 
 f>ae>f d>ef>d | f<ba>f e/e/e e :| a | f2 Te>d e>f b2 | a<ff>e d2 B>d | A>Bd>e Tf2 e>d | 
 B>dA>d F<EE :|  