user: Part 1. Definition
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.
Part 2. Example
Passage: The outbreak of the Seven Years' War in Europe in 1756 resulted in renewed conflict between French and British forces in India. The Third Carnatic War spread beyond southern India and into Bengal where British forces captured the French settlement of Chandernagore in 1757. However, the war was decided in the south, where the British successfully defended Madras, and Sir Eyre Coote decisively defeated the French, commanded by Comte de Lally at the Battle of Wandiwash in 1760. After Wandiwash, the French capital of Pondicherry fell to the British in 1761. The war concluded with the signing of the Treaty of Paris in 1763, which returned Chandernagore and Pondichéry to France, and allowed the French to have "factories" in India but forbade French traders from administering them. The French agreed to support British client governments, thus ending French ambitions of an Indian empire and making the British the dominant foreign power in India.
Answer: Which french settlement did the British capture first, Chandernagore or Pondicherry?
Explanation: This is a good question since it involves a comparison around a particular event, "British capturing the French settlement", which requires looking at more than a single sentence.
Part 3. Exercise
Passage: In 1509, Diogo Lopes de Sequeira was sent to Malacca by the king of Portugal with four ships in order to establish contact with the Sultanate of Malacca. Initially, Sequeira was well received by the Sultan Mahmud Syah . Soon however, the Muslim community convinced Mahmud Syah that the Portuguese should be eliminated. Several men were captured and killed, but the ships escaped. Albuquerque first departed from India for Malacca in April 1511, with 1,200 men and 17 to 18 ships. Albuquerque's objective was to sever Islamic trade and Venetian trade on the same occasion.A first attack by the Portuguese failed on 25 July 1511. Albuquerque's captains spoke against another attempt, but he struck again, succeeding in capturing Malacca in August, despite strong resistance and the presence of artillery on the Malaccan side. In celebration, Tristão da Cunha was sent to Pope Leo X in Rome with rich presents including the elephant that the pope named Hanno.
Answer:

assistant: How many attempts did Albuquerque carry out in order to capture Malacca?