Clairaut Equation
is of the form:
\begin{equation}
y=xy'+\psi(y').
\label{eq1}
\end{equation}
To solve it we plug $p=y'$ and differentiate equation:
\begin{equation}
pdx= pdx + \bigl(x\varphi'(p) +\psi'(p)\bigr)dp \iff dp=0.
\label{eq2}
\end{equation}
Then $p=c$ and
\begin{equation}
y=cx +\psi(c)
\label{eq3}
\end{equation}
gives us a general solution.
(\ref{eq1}) can have a singular solution in the parametric form
\begin{equation}
\left\{\begin{aligned}
&x=-\psi'(p),\\
&y=xp +\psi(p)
\end{aligned}\right.
\label{eq5}
\end{equation}
in the parametric form.
Problem.
Find general and singular solutions to
$$y = xy’ + ( y')^2.$$