y=150a-3ax+5a√(x^2+40^2)
y'=-3a+5a/[2√(x^2+40^2)]* (x^2+40^2)'
=-3a+5a/[2√(x^2+40^2)]* 2x
=-3a+5ax/√(x^2+40^2)