Develop harmonious tunes that integrate the provided motif while adhering to the set musical framework.
X:1
L:1/8
M:3/4
K:D
['c4 (3def ed e2 f2 g4 (3fga', 'G6 d4 (3cde d2 e2 f2 egfedc'  
X:1
L:1/8
M:3/4
K:D
 c4 (3def | ed e2 f2 | g4 (3fga | g2 f2 e2 | G4 (3ABc | BGdBgd | c2 B2 A^F | G6 :: d4 (3cde | 
 d2 e2 f2 | egfedc | BA G4 | (3def f2 (3fga | g2 f2 e2 | dfedcB | c6 :|  