Can someone explain how to solve this problem.

A doctors office schedules 15 min appointments and half hour appointments for weekdays. The docyor limits these appointments to, at most, 30 hours per week. Write an inequality to represent the number of 15 minute appointments x and the number of half hour appointments y the doctor may have in a week?