SAN FRANCISCO (Reuters) - Chegg Inc, an Internet company that rents textbooks and provides other services, is acquiring an on-demand tutoring service for $30 million in cash, the company said on Tuesday.