2. Metcalf School has two third-grade rooms (A and B) and two fourth-grade rooms
(C and D). Together, rooms C and D have 46 students. Room A has 6 more students
than room D. Room B has 2 fewer students than room C. Room D has 22 students.
How many students are there altogether in rooms A and B?