It is the center coil closest to the firewall . cylinder 1,2, and 3 are on the back 1 is on passenger back 3 is on driver back. cylinder 4,5 and 6 are on the front 4 is on passenger front and 6 is on drivers front
For code p0300 i have seen the EGR valve stick causing a rough idle and stalling. The code p0102 and p0103 that has to be internal MAF sensor or wiring those codes are for circuit high and low.