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