A middle school with z students ran a survey to determine the​ students' favorite activities. The table indicates the number of students who enjoy each activity. Answer parts a and b.