Well the first code is for the O2 sensor, most likely unrelated.
The second two codes are the throttle position sensor/accelerator pedal position sensor...
First step is look at the accelerator pedal harness, see if you can find any damaged or broken wires, then check to see if it's plugged in properly, wiggle the connector around, unplug it and clean any dirt/corrosion out of it...
If that doesn't help, it could be the harness or connection at the throttle body, or the throttle body itself. If working the connector on and off a few times doesn't help, it's time to replace the throttle body. It does go bad sometimes.
You can get one from a jy for pretty cheap usually, any 04 and up Grand Prix with the V6, supercharged or not, will work. I believe there's even a few for sale on here for about 50 bucks.