How To Solve General Weighted Average Grading