Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
Q:1/4=100
M:9/8
K:A
['a3 A2 c B2 A agf edc', 'ecA ABA']  
X:1
L:1/8
Q:1/4=100
M:9/8
K:A
 a3 A2 c B2 A | agf edc B3 | AaA AAA BAG | Aag fe^d e3 :: e3 E2 d"^tr" (c2 B) | ced cBA G3 | 
 ecA ABA g2 a | ecA ABA f2 a | edc dcB A3 :|  