The relevant part is this.
If you are outside the 30-day right to reject, you have to give the retailer one opportunity to repair or replace any goods or digital content which are of unsatisfactory quality, unfit for purpose or not as described.
You can state your preference, but the retailer can normally choose whichever would be cheapest or easier for it to do.
If the attempt at a repair or replacement is unsuccessful, you can then claim a refund or a price reduction if you wish to keep the product.
If a repair or replacement is not possible, or the attempt at repair fails, or the first replacement also turns out to be defective, you have a further right to receive a refund of up to 100% of the price you paid, or to reject the goods for a full refund.
I know this as true because I bought a Samsung microwave from John Lewis and researched consumer law after it developed an overheating oven fault, they got Martin Dawes to repair it, when I got the microwave back it had the exact same fault so I phoned them, pointed out the new law and the fact they had tried to repair it once and failed, John Lewis then sent me a brand new replacement, the replacement had the exact same fault, I then got a full refund of the purchase price after rejecting the offer of another microwave or repair, they get one chance now, not repeated attempts.