This task involves creating questions from a given passage that involve some kind of complex reasoning (including numerical reasoning). 
The generated questions must require looking at more than one part of the passage to answer. Try to use a variety of reasoning types in your questions (some of the sample reasoning types are illustrated in the 'positive examples' field) and also have a variety of answer types (spans, numbers, dates). A span is a continuous phrase taken directly from the passage or question. In such questions, the answer spans are recommended to be five words. Questions with answer type "number", are expected to start with "How many". For instance, "How long did an event last?" can be phrased as "How many years did an event last?". To increase diversity, try to create more questions for which the answer will be multiple spans. Please create questions that require AT LEAST 2 arithmetic operations as illustrated in the 'positive examples' field. You are encouraged to try DIFFERENT COMBINATIONS of operations and not just limit to the combinations shown in those examples. The more challenging questions you create, the better it is.
--------
Question: Passage: On 2 May, 1687, a Russian army of about 132,000 soldiers, led by knyaz Vasily Golitsyn, left Okhtyrka on the Belgorod Line. On 30 May they were joined by 50,000 Left Bank Cossacks under hetman Ivan Samoilovich at the mouth of the Samora River where the Dnieper turns south. In the heat of summer, 180,000 men, 20,000 wagons and 100,000 horses set out down the east bank of the Dnieper. The huge force, which started too late and was perhaps not well organized,  could only travel about 10km per day. When the Russians reached the Konskiye Vody river on the west-flowing part of the Dnieper, they found that the Tatars has set fire to the steppe . After a few days of marching over burnt land, their horses were exhausted, they were short of water and 130 miles from their goal at Perekop, however Golitsyn built a fortress at Novobogoroditskoe at the junction of the Dnieper and the Samara. On 17 June they decided to turn back.

Answer: How many days after a Russian army of about 132,000 soldiers led by knyaz Vasily Golitsyn left Okhtyrka did they decide to turn back?


Question: Passage: In 1665, Charles II became the last male Habsburg King of Spain; suffering from ill-health all his life, his death was anticipated almost from birth and his successor debated for decades. In 1700, the Spanish Empire included possessions in Italy, the Spanish Netherlands, the Philippines and the Americas; while no longer the dominant power, it proved remarkably resilient and remained largely intact. Acquisition of an undivided Empire by the Habsburgs or Bourbons would change the balance of power and the conflict ultimately involved much of Europe. In making dynastic claims secondary, the war marks a key point in the development of the nation state. It was also the last of Louis XIV's wars to establish defensible borders and French supremacy in Europe, the most recent being the 1688-1697 Nine Years' War when France was unable to defeat the Grand Alliance. The 1697 Treaty of Ryswick was driven by mutual exhaustion and the recognition by Louis that he needed allies for a war over the Succession. Emperor Leopold initially refused to sign the Treaty since it left this issue unresolved; he reluctantly did so in October 1697 but most viewed Ryswick as only a pause in hostilities.

Answer: France and Spain signed the Treaty of Ryswick due to what reasons?


Question: Passage: By mid-1742, the War of the Austrian Succession had broken out in Europe. Principally fought by Prussia and Austria over possession of Silesia, the war soon engulfed most of the major powers of Europe, who joined two competing alliances. The scale of this new war dwarfed any of the fighting in the Americas, and drew Britain and Spain's attention back to operations on the European continent. The return of Vernon's fleet in 1742 marked the end of major offensive operations in the War of Jenkins' Ear. France entered the war in 1744, emphasizing the European theatre and planning an ambitious invasion of Britain. While it ultimately failed, the threat persuaded British policymakers of the dangers of sending significant forces to the Americas which might be needed at home. Britain did not attempt any additional attacks on Spanish possessions. In 1745, William Pepperrell of New England led a colonial expedition, supported by a British fleet under Commodore Peter Warren, against the French fortress of Louisbourg on Cape Breton Island off Canada. Pepperrell was knighted for his achievement, but Britain returned Louisbourg to the French by the Treaty of Aix-La-Chapelle in 1748. A decade later, during the Seven Years' War , British forces under Lord Jeffrey Amherst and General Wolfe recaptured it.

Answer:
How many years after William Pepperrell took the French fortress of Louisbourg in 1745 did Britain have to return Louisbourg back to the French by the Treaty of Aix-La-Chapelle?