At this point, are you currently able to drive safely?
I failed my test twice but knew how to drive and be safe on the road after having about as many lessons as you, so my father was kind enough to sit in the car with me while I practiced the areas I'd failed on.
I don't know your situation but it doesn't seem urgent that you know how to drive if you won't have a car for ~3 years - do not worry about passing urgently. If you feel safe on the road and that your test results were only due to circumstances on the day, attempt to get some practice in those areas with an adult you trust and who is willing to do it for free. The examiners shouldn't fail you if you drive safely, and if you have a test centre vaguely nearby which has higher pass rates it might be worth trying to book there.
Don't spend your uni money on driving lessons after 10 months of them, spend it on important things like food and potentially a theory/driving test when you feel ready.
I think that you should be able to pass it in 5 months if you are able to put the practice in, but if you have A levels coming up maybe don't, it could be too much pressure. If your last test was recent then maybe give it a few weeks before booking, you shouldn't feel frustrated with driving, and if you're at the point where you hate it wait till you can take your test in a better mental state.
To conclude: potentially worth trying to pass in 5 months so long as you don't have much on. Likely not worth paying for more driving lessons. You can always have one or two before the test itself if you are concerned. Wait to take the test if you do not feel safe or happy driving- being fed up can be dangerous, from firsthand experience.