Develop melodic sequences using the assigned musical pattern and provided motif.
X:1
L:1/8
M:4/4
K:D
['d2 fd A2 fe defg afdf', 'faaf gfed'  
X:1
L:1/8
M:4/4
K:D
|: AB | d2 fd A2 fe | defg afdf | e2 ge B2 ed | cdef gece | d2 fd A2 fe | defg afdf | 
 (3fga fd fafd | Bgec d2 :: cd | eAfA gAaA | faaf gfed | AaBa cada | efed cABc | dAeA fAgA | 
 faaf gfed | fafd (3fga fd | Bgec d2 :|  