\ \ \ x=40-y\\ 2x+3y=92\\\\ 2(40-y)+3y=92\\\\ 80-2y+3y=92\\\\ y+80=92\ \ \ | subtract\ 80\\\\ y=12\\\\x=40-12=28\\\\ 28\ rooms\ has\ 2\ beds."> x − roo m s w i t h 2 b e d s y − \rooms w i t h 3 b e d s x + y = 40 − − − > x = 40 − y 2 x + 3 y = 92 2 ( 40 − y ) + 3 y = 92 80 − 2 y + 3 y = 92 y + 80 = 92 ∣ s u b t r a c t 80 y = 12 x = 40 − 12 = 28 28 roo m s ha s 2 b e d s .
There are 28 rooms with 2 beds in the motel. We determined this by setting up a system of equations based on the number of rooms and beds. Solving these equations led us to find the values of x and y .
;