This is a homogeneous equation because both functions in and are of degree 2. In this case, make the substitution and . Then your equation becomes

which is separable. Once you solve for in terms of , you can go back and solve the equation by substituting and solve for .