Effective interactions among quasiparticles of p-type symmetry in an extended model for CuO2 layers