Question 818724
the following answer is fundamentally for the same problem. 
---
simply substitute 639 in the following answer with 500 (i.e. 500 is the lower end of the C scale in your problem.)
---
http://www.algebra.com/algebra/homework/Average/Average.faq.question.818730.html
---
Solve and graph linear equations:
https://sooeet.com/math/linear-equation-solver.php
---
Solve quadratic equations, quadratic formula:
https://sooeet.com/math/quadratic-formula-solver.php
---
Convert fractions, decimals, and percents:
https://sooeet.com/math/fraction-decimal-percent.php
---
Calculate and graph the linear regression of any data set:
https://sooeet.com/math/linear-regression.php