Factorize :3x^2+3tx-xyt-t^2y

3x^2+3tx-xyt-t^2y

3x(x+t) - yt(x+t)

that help?