Formulate melodic passages using the specified musical pattern in combination with the provided motif.
X:1
L:1/4
Q:1/2=80
M:4/4
K:D
['d A A', 'A A', 'd A'  
X:1
L:1/4
Q:1/2=80
M:4/4
K:D
 d A A B/c/ | d A A B/c/ | d A A G | F2 D2 :| G B B A/G/ | F A A B/c/ | d A A G | F2 D2 :| 
 d3/2 e/ d c/B/ | A/B/ c/d/ e d/c/ | d A B A/G/ | F2 D2 | G B B A/G/ | F A A B/c/ | d A A G | 
 F2 D2 |]  