Database: dorm_1
Question: Find the average and total capacity of dorms for the students with gender X.
SQL: select avg(student_capacity) ,  sum(student_capacity) from dorm where gender  =  'x'