Create harmonious melodies following the given letter notation and incorporating the designated theme.
X:1
L:1/8
Q:1/4=140
M:4/4
K:D
['(dc)dA a2 af', 'A(dc)d f(dc)d']  
X:1
L:1/8
Q:1/4=140
M:4/4
K:D
 (dc)dA a2 af | g2 ge ce A2 | (dc)dA a2 af | bgec d2 d2 :: A(dc)d f(dc)d | B(gf)g e(ag)a | 
 A(dc)d f(dc)d | Bgec d2 d2 :|  