There are 30+15+40=<<30+15+40=85>>85 minutes accounted for.

She spent 2*60=<<2*60=120>>120 minutes.

She spent 120-85=<<120-85=35>>35 minutes cleaning her room.

# Answer

35
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Miriam spent 30 minutes doing laundry, 15 minutes cleaning the bathroom, a certain amount of time cleaning her room, and 40 minutes doing homework. If she spent a total of two hours on these tasks, how long, in minutes, did she spend cleaning her room?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
35
Miriam spent 30 minutes doing laundry, 15 minutes cleaning the bathroom, a certain amount of time cleaning her room, and 40 minutes doing homework. If she spent a total of two hours on these tasks, how long, in minutes, did she spend cleaning her room?
train