I start by knowing that I need a differential equation satisfying all members of family $y^2 + 2cx = c^2$, which means $c$ needs to be eliminated.
$$2y \frac{dy}{dx}+ 2c=0\\
c = -y \frac{dy}{dx}\\
y^2 - 2yx\frac{dy}{dx} =y^2 \left(\frac{dy}{dx}\right)^2$$
For orthogonal trajectories,
$$y^2 + 2yx\frac{dx}{dy} =y^2 \left(\frac{dx}{dy}\right)^2$$
And then i got stuck, none of the methods i tried to use to solve this helped. The answer must be $$y^2 = 2cx + c^2.$$
What am I doing wrong?
If $$y(x)\ne 0$$ we get $$y(x)-2xy'=yy'^2$$ solving this for $y'$ we get $$y'=\frac{1}{y}(-x+\sqrt{x^2+y^2})$$ so the slope of the traectories are given by $$y'_{orth}=-\frac{y}{-x+\sqrt{x^2+y^2}}$$ solving this equation we get $$y(x)=C\sqrt{C+2x}$$ or $$y(x)^2=C'+2xC'$$ as you has stated