American pair beat New Zealand (22 points) and Poland (21 points).
In the first match Hungary beat Poland but in the second round they lost to Egypt.
In Budapest, Hungary beats Poland 13-7, in an international handball game.
That team eventually beat Poland in the final to win the title.
Brazil will face Australia, which beat Poland, 76-48, in the quarterfinals.
However, if instead Ireland beat Poland in the second-last game, Poland was out of the tournament.
Chile finished third, beating Poland by 4-2.
Denmark won its second gold medal, beating Poland in the final, while Norway won the bronze.
Italy beat Poland in the first semi-final through two goals from Paolo Rossi.
After beating Poland, they played Czechoslovakia in a game that was close at the half, but the USA team went on to win 86-67.