not much point changing it to 40mm if the pipe in the wall is 32mm?I haven't used 90⁰ in years.
I use the sweep elbows.
Anyhow, lots of installations are like the one in your picture.
If it's a basin and you haven't done it yet, you can use an adapter and get everything in 40mm.
+1 - if you can fit swept bends then that would be better.
take it you can' t open the wall and bring the waste up to the trap outflow level? So it would be just a straight back and down

Will try and do that. Will try a swept at the bottom of I canDrawered vanity units are more suited to 'straight out the back' waste runs and not 'down the back' runs, which is why modifying the pipe in the wall would be ideal.
If that's what's there though then it needs to be worked around, swept bend at the top and a 90deg at the bottom then would probably work.

Even better at the bottom if there's room would be a Tee with a Cleaning Eye fitted into the spare socket, facing into the room.

But the pipe coming out of the wall is horizontal? The dead end could collect if directly connected to it? Hence why I suggested it would be an elbow then the T?One of these > with one of these in the dead end
View attachment 385564............View attachment 385565
No, doesn't usually happen, the flow will 'sweep' most of the debris round with it. Opened the cleaning eye on my Utility room sink last week, first time since it was fitted about 20 years ago, after the sink was getting slow to drain. Waste pipe clear, it was the trap that was the issue.But the pipe coming out of the wall is horizontal? The dead end could collect if directly connected to it? Hence why I suggested it would be an elbow then the T?
If you need to find a tradesperson to get your job done, please try our local search below, or if you are doing it yourself you can find suppliers local to you.
Select the supplier or trade you require, enter your location to begin your search.
Are you a trade or supplier? You can create your listing free at DIYnot Local