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: In 1766, Hyder Ali of Mysore captured Calicut and then Guruvayur. To refrain from the demolition of the Hindu temple at Guruvayur, Mysore demanded 10,000 fanams from the authorities, which was paid. At the request of Governor of Malabar, Shrinivasa Rao, Hyder Ali granted a devadaya  and the temple at Guruvayur was saved from destruction. Tippu Sultan again invaded the Zamorin of Calicut's province in 1789. Aware of the risk to the idol, it was hidden underground and the Utsava vigraha was taken to Ambalappuzha Sri Krishna Temple by Mallisseri Namboodiri and Kakkad Othikkan. Tippu destroyed the smaller shrines and set fire to the temple, but it was saved due to timely rain. Tippu lost to the Zamorin, Travancore and the English in 1792. Although the hidden idol and the Utsava vigraha were re-installed on 17 September 1792, the daily poojas and routines were seriously disrupted.

Answer: Did Hyder Ali demolish the Hindu temple at Guruvayur?


Question: Passage: The kingdoms of France and Scotland had traditionally enjoyed a close diplomatic relationship, reflected in a defensive treaty signed between the two kingdoms in 1512. When Henry crossed the English Channel to campaign in France, the King of France activated the treaty, sending arms, money and military advisers to James IV of Scotland to encourage him to fulfil his obligations, in the hope that this would draw English resources away from the invasion of France. James crossed the border with a force of some 35,000 men, including 5,000 French advisers. He was opposed by an English force under the Earl of Surrey. The two sides met on September 9, 1513, near the village of Flodden. The Scottish army was heavily defeated, losing some 9,000 men and many nobles, including King James, the King's illegitimate son, and twelve earls.

Answer: Did the kingdoms of France and Scotland have a treaty?


Question: Passage: The Turkish Sultan appointed Yuri Khmelnitsky Hetman of the Right-bank Ukraine, who had been the Sultan's prisoner at that time. In July 1677, the Sultan ordered his army  under the command of Ibrahim Pasha to advance towards Chyhyryn. July 30 1677 at the fortress appeared advanced detachments, and on August 3 - the main forces of the Turks. Samoilovich and Grigory Romodanovsky's forces joined on August 10, and only on August 24 they crossed the Sula River on the way to Chigirin. On August 26-27, a skirmish between their and Ottoman troops removed Ottoman observation posts and allowed the rest of the Muscovite and Ukrainian forces to cross the river under the cover of artillery fire. Turkish attempts to drop back into the river the first crossing detachment under the command of Major-General Shepelev were repulsed. Muscovite and Ukrainian cavalry attacked and overwhelmed Turkish-Tatar army camp, on the August 28, inflicting heavy casualties. The following day, Ibrahim Pasha lifted the siege of Chyhyryn and hastily retreated to the Inhul River and beyond. Samoilovich and Grigory Romodanovsky relieved Chyhyryn on September 5. The Ottoman Army had lost 20,000 men and Ibrahim was imprisoned upon his return to Constantinople and Crimean Khan Selim I Giray lost his throne.

Answer:
Approximately how many months did it take the Sultan's army to get to Chyhyryn?