I an getting the solution for y as:
y =
0.00000262726*int(-a*heaviside(20 - a)*(x/30 - 1)*((1389*x)/250 + 250/3), x, 20, 30) + 0.00000262726*int(-a*heaviside(20 - a)*(x/30 - 1)*((5139*x)/250 - (x - 10)^2/2 + (x - 10)^3/60 - 150), x, 0, 20) + 0.00000262726*int(-a*heaviside(a - 20)*(x/30 - 1)*((1389*x)/250 + 250/3), x, 20, 30) + 0.00000262726*int(-x*heaviside(a - 20)*(a/30 - 1)*((5139*x)/250 - (x - 10)^2/2 + (x - 10)^3/60 - 150), x, 0, 20)