Given the task definition and input, reply with output. 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.

Passage: The Mexican Empire was quickly overthrown under the Plan of Casa Mata, the provinces of the empire became independent states. The first Republic of Yucatan, declared on May 29, 1823, joined the Federal Republic of the United Mexican States as the Federated Republic of Yucatan on December 23, 1823. The second Republic of Yucatan emerged when the federal pact signed by Yucatan and endorsed in the Constitution of Yucatan of 1825 was broken by the centralist government of Mexico since 1835. In 1841 the state of Tabasco decreed its separation from Mexico and Miguel Barbachano, then governor of Yucatan, sent a commission headed by Justo Sierra O'Reilly to meet with Tabasco authorities to propose the creation of an independent federal republic from Mexico formed by the two states. The idea failed when Tabasco rejoined Mexico in 1842. On August 22, 1846, Mexican interim president Jose Mariano Salas restored the 1824 constitution and the federalism. Two years later, during the government of president Jose Joaquin de Herrera, Miguel Barbachano ordered the reinstatement of Yucatan to Mexico under the Constitution of Yucatan of 1825. A decisive factor for the reinstatement was the Caste War, which forced Yucatan to seek outside help. In 1852 due to internal struggles between opposing political factions, was created the Territory of Campeche. On April 29, 1863, during the government of Benito Juarez, Campeche gained its current status as an independent state.
How many months after the first Republic of Yucatan was declared did it join the Federal Republic of the United Mexican States as the Federated Republic of Yucatan?