Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:6/8
K:D
['A2 A BAF A2 B d2 e', 'ABd B2 A']  
X:1
L:1/8
M:6/8
K:D
 A2 A BAF | A2 B d2 e | faa baf | efe edB | A2 A BAF | A2 B d2 e | faf edB | d3 d3 :| ABd B2 A | 
 ABd B2 A | faa baf | efe edB | ABd B2 A | ABd B2 A | faf edB | d3 d3 :|  