Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:C
['B2 GB e2 dB', 'c2 A2'  
X:1
L:1/8
M:4/4
K:C
!p! a!p! | e^g | | ef | ad a caged e a e ea ue4 f Pa f | g | | f |[M:4/4][K:A][Q:1/8=280] .ec | 
 ABAc e2 cd | eada e2 cA | BdGB d2 Bd | eAce dGBG | A2 BA e2 cd | eada eAcA ||1 B2 GB e2 dB | 
 B2 A2 A2 :|2 B2 GB e2 dB | c2 A2 A2 || ef | gaga eAcA | e2 df eABA | g2 fg dGBd | eAce dGBf | 
 gaga eAcA | e2 dg eABA | BdGB e2 dB |1 c2 A2 A2 :|2 c2 A2 A4 |]  