Peugeot 406 accelerator cable

Help! Is this in two parts if not is it a job I could complete easily, or does the car have to go to a garage. I am on holiday with friends in France