Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:2/4
K:D
['AF A>d BG B>d Ad f>d', 'Ad f>g fe ed ef']  
X:1
L:1/8
M:2/4
K:D
 AF A>d | BG B>d | Ad f>d | ed B/c/d/B/ | AF A>d | BG B>d | Ad f>d | ed d2 :| Ad f>g | fe ed | 
 ef ga | ba f2 | Ad f>g | fe ed | ef af | ed d2 :|  