✓ Mathematica : cpu = 0.0830997 (sec), leaf count = 32
DSolve[-(Derivative[1][y][x]*(((-1 + 2*v)*Derivative[1][g][x])/g[x] + (2*Derivative[1][h][x])/h[x] + Derivative[2][g][x]/Derivative[1][g][x])) + y[x]*(Derivative[1][g][x]^2 + (Derivative[1][h][x]*(((-1 + 2*v)*Derivative[1][g][x])/g[x] + (2*Derivative[1][h][x])/h[x] + Derivative[2][g][x]/Derivative[1][g][x]))/h[x] - Derivative[2][h][x]/h[x]) + Derivative[2][y][x] == 0,y[x],x]
✓ Maple : cpu = 0.138 (sec), leaf count = 24
dsolve(diff(diff(y(x),x),x)-(diff(diff(g(x),x),x)/diff(g(x),x)+(2*v-1)*diff(g(x),x)/g(x)+2*diff(h(x),x)/h(x))*diff(y(x),x)+(diff(h(x),x)/h(x)*(diff(diff(g(x),x),x)/diff(g(x),x)+(2*v-1)*diff(g(x),x)/g(x)+2*diff(h(x),x)/h(x))-diff(diff(h(x),x),x)/h(x)+diff(g(x),x)^2)*y(x)=0,y(x))