Order of differential equation is the order of the highest order derivative term present in the differential equation.
Degree of the differential equation is power of that highest order derivative term.
Lets take the given differential equation
y−xdydxdydx=(dydx)2
⇒y−xdydx=(dydx)3
The highest order derivative term present is dydx.
⇒ order is 1.
And the degree of the given differential equation is 3.