DSolve[-f[x] + y[x] + x*Derivative[1][y][x] + (beta + alpha*x)*Derivative[2][y][x] + x*(b + a*x)*Derivative[3][y][x] == 0,y[x],x]