so all you need to do is solve for y' in the equatino you wrote in (1)

[sec(x/y)]^2 * [(y-xy')/y^2] = 1 + y'

so distribute the left side, then move the term with the y' in it to the right side

ill post it out if that doesnt help