Now we need to expand and group y' terms on one side. I'll try to move the y' terms on right hand side:
Expand on left side:
Move y' terms on the right and y^2 from right to left:
Factor a y', then divide to solve for it. I hope my algebra does not contain any errors above.