Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:2/4
K:A
['ec c2 dB B2']  
X:1
L:1/8
M:2/4
K:A
 ec c2 | dB B2 | ABcd | ee e2 | ec c2 | dB B2 | Acee | c3 z | BBBB | Bc d2 | cccc | cd e2 | ec c2 | 
 dB B2 | Acee | A3 z |]  