AMC 12B 2024 (Problem 20)

Suppose AA, BB, and CC are points in the plane with AB=40AB=40 and AC=42AC=42, and let xx be the length of the line segment from AA to the midpoint of BC‾\overline{BC}. Define a function ff by letting f(x)f(x) be the area of △ABC\triangle ABC. Then the domain of ff is an open interval (p,q)(p,q), and the maximum value rr of f(x)f(x) occurs at x=sx=s. What is p+q+r+sp+q+r+s?
(A)  909\text{(A)}\;909(B)  910\text{(B)}\;910(C)  911\text{(C)}\;911(D)  912\text{(D)}\;912(E)  913\text{(E)}\;913