It satisfied both of the parties' wants. It established two houses of Congress; one based on population (to satisfy the Virginia Plan), the House of Representatives, and the other, the Senate, that gave two representatives per state regardless of its population (to satisfy the New Jersey Plan or the Small States Plan).
Hope this helps :)