The motor's have to both be the same, I'm guessing the lumina z34 was a 3.4 dohc, and the pontiak was a 3.1? The only way to do this correctly is to get all the wiring and computers from the donar car. Hop on over to
http://www.60degreev6.com There is a lot of good information over there about engine swaps.