Formulate melodic passages using the specified musical pattern in combination with the provided motif.
X:1
L:1/8
M:4/4
K:D
['(3Bcd e2 dg eG (3Bcd e3 B', 'cA A2'  
X:1
L:1/8
M:4/4
K:D
|: (3Bcd | e2 dg eG (3Bcd | e3 B d2 BA | Beed e3 d | (3Bcd ge dG :: (3Bcd | cA A2 EA A2 | 
 cA A2 dG (3Bcd | cA A2 EG G2 |1 (3Bcd ge dG :|2 (3Bcd ge defg | a2 c'a bac'a | abc'a e3 f | 
 g2 bg agbg | gb (3bag efge | a2 c'a bac'a | abc'a e2 f | g3 b agef | g3 e dG ||  