The current average is 9+13+15+17+19+23+31+49\8=22. The current median is 9, 13, 15, 17 | 19, 23, 31, 49: 18.
The average increases by 2 so the new average after removing two numbers is 24. The median increases by 2 as well so the new median is 20.
After removing 2 numbers, we have 6 left. The remaining 6 numbers must add up to 24*6=144.
176-144=32 is the sum of the two numbers removed. The two numbers removed could be 9, 23; 13, 19; or 15,17. Using guess and check, 13 & 19 satisfy this.
Their product is 247.