karan earns $6 per hour walking and $8 per hour working in a supermarket. The number of hours she walked the dogs is 10 hours more than the number of hours she worked at the supermarket. If her total earnings from both jobs is $158, how many hours dud she walk the dogs?