How did the Great Compromise settle the problem of representation in Congress?

It made all states pay the same in federal taxes.

It gave each state two senators and a number of representatives based on population.

It gave each state two representatives in the Senate and two representatives in the House of Representatives.

It allowed all states to have equal numbers of representatives in Congress.

which one is right?

The correct option is:

It gave each state two senators and a number of representatives based on population.

This compromise, also known as the Connecticut Compromise, was reached during the Constitutional Convention of 1787. It effectively created a bicameral legislature consisting of an upper chamber, the Senate, with equal representation for each state, and a lower chamber, the House of Representatives, with representation based on each state's population. This compromise resolved the conflict between smaller states that favored equal representation (the New Jersey Plan) and larger states that favored representation based on population (the Virginia Plan).