Formulate melodic passages using the specified musical pattern in combination with the provided motif.
X:1
L:1/8
M:4/4
K:D
['Aaaa gfed fdAF G2 GA BGBd', 'fdfa fdfa'  
X:1
L:1/8
M:4/4
K:D
|: Aaaa gfed | fdAF G2 GA | BGBd gfeg | fdfd edcB | Aaaa gfed | fdAF G2 GA | BGBd gfec | d4 d4 :: 
 fdfa fdfa | fdfa g2 gf | eceg ecec | Acec d2 de | fdfa fdfa | fdfa g2 gf | ecef gece | d4 d4 :|  