how do i factor

3y^2+y-10

2*5 = 10

2*3 = 6
1*5 = 5
5 and 6 differ by one, which we need
so
3 2 and 5
(3y -5)(y+2)