Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/4
Q:3/4=100
M:6/4
K:G
['e f', 'a f ^d'  
X:1
L:1/4
Q:3/4=100
M:6/4
K:G
 B | e f g f g e | ^d e f B2 e | d c B c B A | B3- B2 :: B/c/ | d B G c A F | B G E A F D | 
 G A B A2 G | G3- G2 B | g e ^c a f ^d | b g e a f ^d | e f g B e ^d | e3- e2 :|  