5ax^2-2bx^2-15ay+6by
5ax2 - 2bx2 - 15ay + 6by
Factor an x2 out of the first two terms, and factor a -3y out of the second two terms.
x2(5a - 2b) - 3y(5a - 2b)
Factor (5a - 2b) out of these two terms.
(5a - 2b)(x2 - 3y)