Formulate melodic passages using the specified musical pattern in combination with the provided motif.
X:1
L:1/8
Q:1/4=130
M:4/4
K:D
['c d3 c B2 f2 (ef)(de) (dc)(BA)', 'a2 f2'  
X:1
L:1/8
Q:1/4=130
M:4/4
K:D
 c | d3 c B2 f2 | (ef)(de) (dc)(BA) | (d{ed}c) de f2 b2 | fedc B3 || b | a2 f2 f2 ed | 
 (cdef) (dc)(BA) | a2 f2 f3 a | (ba)fa b2 (d'b) | a2 f2 (gf)(ed) | (cd)(ef) (dcBA) | 
 (d{ed}c) de f2 b2 | fedc B3 |]  