Develop melodies utilizing the stated letter notation and the provided theme.
X:1
L:1/8
M:2/2
K:D
['ABdA TBAFA ABde', 'TBAFA ABde']  
X:1
L:1/8
M:2/2
K:D
 D2 | d3 A (TBA)FA | ABdA TBAFA | ABde fded | Beed egfe | d2 dA TBAFA | ABdA TBAFA | ABde fdec | 
 dBAF D2 || (fg) | a3 g f2 Tfe | d2{e} dA TBAFA | ABde fded | Beed egfe | abag f2{g} fe | 
 d3 A TBAFA | ABde fdec | dBAF D2 ||  