Answer:
number 1: to settle outstanding issues between the two countries
number 2: ???
number 3: The XYZ Affair was a diplomatic incident that occurred between the United States and France in 1797. In an attempt to avert war with Great Britain, the U.S. signed the Jay Treaty in 1795. One of the provisions of the treaty limited the ability of nations that were hostile to Great Britain to trade in U.S. ports.
number 4: A series of laws known collectively as the Alien and Sedition Acts were passed by the Federalist Congress in 1798 and signed into law by President Adams. These laws included new powers to deport foreigners as well as making it harder for new immigrants to vote.