I've also taken maths 3 times but never failed it, just wanted to get a higher grade. First time I took it,I got a 4 (straight out of year 11, ), second time I got a 5(missed most of my paper 3 because my taxi came 40 mins late) and the 3rd time I finally got a 6 which is what I was aiming for from the first attempt and am now doing A level maths lol. Literally, it doesn't matter how many times you retake, there are so many factors that can effect an exam. Such as your taxi coming 40 mins late.