Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:C
['[M:2/2][K:G] b!p! uaed da a a A', 'a2 af'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:G] b!p! uaed da a a A da ue[Q:1/8=180]"^A dorian" .A2 Ag fdec | A2 Ac BGGB | A2 Ag fdef | 
 gfge dBGB :| a2 af gfed | cAeA cAce | a2 af gfef | gfge dBGB | a2 af gfed | cAeA cAce | 
 afge fdef | gfge dBGB |"^final" A8 |]  