She is in school for 40 hours because 5 x 8 = <<5*8=40>>40
She is in math class for 10 hours a week because 40 x .25 = <<40*.25=10>>10
#### 10