Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
M:2/4
K:D
['A>F AB A>F Af', 'f>f g/f/e'  
X:1
L:1/8
M:2/4
K:D
|: B/ | A>F AB | A>F Af | e2 ef | dB B/c/d/B/ | A>F AB | A>F Af | e/d/e/f/ gb | ef d3/2 :: e/ | 
 f>f g/f/e | f>f g/f/e | fd ed | e/f/e/d/ BA | f>f g/f/e | f>f g/f/e | fd e/f/e/c/ | df d3/2 :|  