One week a student exercised 3 hours at school and another of an hour at home. If of the student's total exercise came from playing basketball, how much time did the student spend playing basketball that week? Enter your answer in hours; do not include units in your answer.