Belvedere had a job as a math tutor that paid $7 an hour and he made between $112 and $217 (inclusive) every week. If x is the hours he worked in a week and y is the money he made in a week, write the domain and range of the function as a compound inequality.