How do you factor 8x^2y^2 - 4x^2y - 12xy?

8x²y²-4x²y-12xy=4xy(2xy-x-3)
8x²y²-4x²y-12xy
$= 4 x y \left(2 x y - x - 3\right)$