algebra
posted by jay .
Can someone please explain this qestion and how to solve.
A doctors office schedules 15 min appointments for weekdas. The doctor limits these appointments to, at most, 30 hours per week. Write an inequality to represent the number of 15 min appointments x and the number of half hour appointments y the doctor may have in a week.

y = 2x
x + y ≤ 30
Substitute 2x for y in second equation and solve for x. Insert that value into the first equation and solve for y. Check by inserting both values into the second equation. 
Sorry, the second equation should be as indicated below.
15x + 30y ≤ 30*60
Substitute 2x for y in second equation and solve for x. Insert that value into the first equation and solve for y. Check by inserting both values into the second equation.