From the Pereybère Plage bus stop, head straight towards the sea, then turn right onto the rocks. Then simply walk along the beach until you reach Cap Malheureux.
⚠️ Please note: between points (4) and (6), walking on the rocks can be difficult as they are often very slippery.