The trip back was 30*.2=<<30*.2=6>>6 miles longer than the trip there.

So it was 30+6=<<30+6=36>>36 miles.

So the total drive was 30+36=<<30+36=66>>66 miles.

That means she drove for 66/44=<<66/44=1.5>>1.5 hours.

She stayed with her friend 30/60=<<30/60=.5>>.5 hours.

So the total time was 1.5+.5=<<1.5+0.5=2>>2 hours.

# Answer

2
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Kim drives 30 miles to her friend's house.  On the way back she has to take a detour that is 20% longer.  She spends 30 minutes at her friend's house.  She drives at a speed of 44 mph.  How long did she spend away from home?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
2
Kim drives 30 miles to her friend's house.  On the way back she has to take a detour that is 20% longer.  She spends 30 minutes at her friend's house.  She drives at a speed of 44 mph.  How long did she spend away from home?
train