DSolve[(b^2*y[x])/E^(2*a*x) + a*(a^2 - (2*b)/E^(a*x))*Derivative[1][y][x] + a^2*Derivative[2][y][x] == 0,y[x],x]