Ashton works as a marketing manager for a consumer products firm. His total earnings, A, in x months is given by the function A(x) = 2,400x + 40x2. His total savings, S, in x months is given by the function S(x) = 250x + 500.