The expression x2y - 2xy - 24y can be factored by first factoring out a common factor of y. After the common factor is removed, the remaining factor is a\