Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:4/4
K:D
['A2 FD ADFA B2 FD BDFB c2', 'F2 DF A2 FA d2 Ad f2', '']  
X:1
L:1/8
M:4/4
K:D
|: A2 FD ADFA | B2 FD BDFB | c2 AF cFAc | ffed c2 cB | d2 dB FBfd | c2 cA FAfc | B2 Bc dcBA | 
 BcAG GFFE :: F2 DF A2 FA | d2 Ad f2 df | gffe eddc | cBBA AGFE | F2 DF A2 FA | d2 Ad f2 df | 
 gdBG DGBd | ecAG GFFD :| D4 ||  