1 answer
(click or scroll down)
rearrange things a bit, and you have
2xy-x -12y+6 = x(2y-1) - 6(2y-1) = (x-6)(2y-1)