put our heads togetherto think about or discuss something as a group
So we would put our heads together and try to beat it.