Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/8
M:4/4
K:D
['', 'EF (3ABA FA d2', 'DF A2']  
X:1
L:1/8
M:4/4
K:D
 AF |: E2 EF (3ABA FA | d2 dA BAFA | dcde faec | dcBA FAAF | (3EFE EF (3ABA FA | d2 dc dfaf | 
 (3efe cA BdAF |1 (3ABA DF A2 AF :|2 A2 DF A2 fa |: afed efef | afed efec | dcde faec | dcBA FAAF | 
 (3EFE EF (3ABA FA | d2 dc dfaf | (3efe cA BdAF |1 (3ABA DF A2 fa :|2 A2 DF A2 AF ||  