Work out the grade needed on a final exam to reach a target overall grade.
That target isn't reachable with the remaining weight — you'd need to either lower your target or find extra credit.
target = current × (current weight ÷ 100) + needed × (remaining weight ÷ 100), solved for needed.