Formulate melodic passages using the specified musical pattern in combination with the provided motif.
X:1
L:1/8
M:4/4
K:D
['f2 af dfaf g2 fg e B3']  
X:1
L:1/8
M:4/4
K:D
 f2 af dfaf | g2 fg e B3 | f d3 Adfd | ceae c/d/e ae | f2 af dfaf | g2 fg e B3 | A F3 ABdf | 
 afeg f d3 :|  