How are the governments of Mexico and the United States similar?

Both Mexico and the United States are democratic republics with three branches of government: executive, legislative, and judicial. Both countries have a president as the head of state and a constitution that outlines the rights of citizens and the powers of the government. Additionally, both countries have a system of checks and balances to ensure that no one branch of government has too much power.