I can give you few options with regards to their feasibility and cost
1. Most feasible, work hard for the remaining courses and see how much can you improve your CGPA (Still less likely to give you big gain like 3 or more cgpa as the end courses are usually tougher and even with B+ and A grades the improvement will be in decimals)
2. Give improvise/retake courses, though it is bit costly but the chance to improve your CGPA is huge, as the low score will be replaced by latest high score, and since you've already done that course so it will be easy to score more on same course.
3. In some universities, they count failed courses in CGPA even after you pass them (Double counting), if that is the case and if you have failed in past, then no worries, in final transcript, all the failed courses will be removed and CGPA will improve a lot, so just be eligible for the degree which can be much lower than 3.