during one semester, the time elaine spent doing homework or participating in extracurricular activities was 20 percent less than the time she spent attending class. if she spend a total of 981 hours attending class, doing homework, or participating in extracurricular activities, how many hours did she spend attending class?