Solve for y. 2y^2-17y+39=(y-3)^2

To solve for y, we can start by expanding (y-3)^2.

(y-3)^2 = y^2 - 6y + 9

Now we can substitute this into our equation:

2y^2 - 17y + 39 = y^2 - 6y + 9

To simplify, let's bring all the terms to one side of the equation:

2y^2 - y^2 - 17y + 6y + 39 - 9 = 0

y^2 - 11y + 30 = 0

Next, we attempt to factorize.

(y - 5)(y - 6) = 0

Now we can set each factor equal to zero and solve for y.

y - 5 = 0 or y - 6 = 0

y = 5 or y = 6

Therefore, the solutions for y are 5 and 6.