mazda emissions

I have a 2006 mazda 6i that failed emissions. Had codes P2187 and P0455. Was told to replace purge valve. Can’t seem to find it. Can you tell me where it’s located and is it a difficult job?