The question refers to the Treaty of 1818 between the United States and the United Kingdom (who was in the possession of Canada at the time). This treaty was signed in London.
it allowed Americans (together with the British/Canadian) to settle in Oregon (Oregon is the word for first blank space) for 10 years (this is the second blank).