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