How do you work out the question 24ax^2+18ax-105a.

I don't see any question, just an algebraic expression. However, on the off chance that you are interested in factoring, it's

3a(8x^2+6x-35) = 3a(4x-7)(2x+5)