The 1st. The 2nd is correct only if you assume that what was meant was an ellipsis of "have": We have put our heads together and (HAVE) come up with this idea. in order to avoid repetition.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.