I do know a friend who got fairly low AS grades (AABBD), then applied during a gap year (after resits, achieving mainly A*s in the end), and got an offer for languages at Cambridge. So they don't have an issue with a few resits, although they will ask for all your grades on the SAQ so presumably are looking for a significant improvement between the first exam and the resit. However, maths is more competitive than languages, and even if you do get an offer you may still fail to meet it due to STEP. Also, you probably haven't taken the best subject combination, which may count against you.
I think you mentioned earlier (or maybe someone else did...) that you thought that they wouldn't mind so much if you got a low grade in a less related subject. I have been led to believe that this is only really the case if it is a 4th or 5th A level, as you must still show an ability to cope with the 'normal' number of A levels (3 A2s and 4ASs) and achieve the top grades.
Basically, resit your bad exams and try to aim for 90%+ in all your subjects, particularly maths + Further maths.