✓ Mathematica : cpu = 0.156269 (sec), leaf count = 24
DSolve[Derivative[2][y][x] == -((Derivative[1][y][x]*(2*f[x]*g[x]*Derivative[1][g][x]^2 - (-1 + g[x]^2)*(2*Derivative[1][f][x]*Derivative[1][g][x] + f[x]*Derivative[2][g][x])))/(f[x]*(-1 + g[x]^2)*Derivative[1][g][x])) - (y[x]*(-(f[x]*Derivative[1][g][x]^2*(2*g[x]*Derivative[1][f][x] + v*(1 + v)*f[x]*Derivative[1][g][x])) + (-1 + g[x]^2)*(-(f[x]*Derivative[1][g][x]*Derivative[2][f][x]) + Derivative[1][f][x]*(2*Derivative[1][f][x]*Derivative[1][g][x] + f[x]*Derivative[2][g][x]))))/(f[x]^2*(-1 + g[x]^2)*Derivative[1][g][x]),y[x],x]
✓ Maple : cpu = 0.412 (sec), leaf count = 20
dsolve(diff(diff(y(x),x),x) = -(2*f(x)*diff(g(x),x)^2*g(x)-(g(x)^2-1)*(f(x)*diff(diff(g(x),x),x)+2*diff(f(x),x)*diff(g(x),x)))/f(x)/diff(g(x),x)/(g(x)^2-1)*diff(y(x),x)-((g(x)^2-1)*(diff(f(x),x)*(f(x)*diff(diff(g(x),x),x)+2*diff(f(x),x)*diff(g(x),x))-f(x)*diff(diff(f(x),x),x)*diff(g(x),x))-(2*diff(f(x),x)*g(x)+v*(v+1)*f(x)*diff(g(x),x))*f(x)*diff(g(x),x)^2)/f(x)^2/diff(g(x),x)/(g(x)^2-1)*y(x),y(x))