Find all solutions to the equation 6x^2 - 31x + 40 = 5x^2 - 5x + 35. If you find more than one, then list the values separated by commas. If the solutions are not real, then they should be written in a + bi form
The roots are 2 and -5.