diffirential equations: how to eliminate arbitrary constant where h is a parameter; y=mx+h/m

please help
how to eliminate arbitrary constant where h is a parameter;
y=mx+h/m

y=mx+hm   ←   Equation (1)

y=m
 

Substitute m = y' to Equation (1)
y=xy+hy       answer