There are currently 40 people regularly attending the morning class, and attendance is increasing at a rate of 2 people per month. There are currently 22 people regularly attending the evening class, and attendance is increasing at a rate of 8 people per month. When will the number of people in each class be the same?