Solution
Step 1 — the first 9 terms.
S9=29[2a+8d]=9(a+4d)=153
a+4d=17⋯(1)
Step 2 — the last 6 terms.
In a 40-term AP, the last 6 terms are the 35th to the 40th. Their sum is
26(a35+a40)=3[(a+34d)+(a+39d)]=3(2a+73d)
3(2a+73d)=687⇒2a+73d=229⋯(2)
Step 3 — solve.
From (1), a=17−4d. Substitute into (2):
2(17−4d)+73d=229
34+65d=229
65d=195⇒d=3
a=17−4(3)=5
The first term is 5.
Check. a35=5+34(3)=107 and a40=5+39(3)=122.
3(107+122)=3×229=687 ✓
S9=29[10+24]=29×34=153 ✓
The trap. Option (A), 3, is the common difference.
(D) 5