The cost C of running a school is directly proportional to the number of students…