The Great Compromise settled the problem of representation in Congress by providing that each state would have two senators and a number of representatives in the House based on population. So, the correct response is:
It gave each state two senators and a number of representatives based on population.