1976-81 240's have Bw/Aw55 stock. B21. Here in North America, only the B18, B20, and B30 had the Bw35. Maybe some B16's in the 122's. Those get swapped to M40/41 trannies.
Speedo should be a r0,960. With a 3.91 rear axle, use the black speedo gear. Same gear as what's used in a 1983-85 non-turbo 240 with the 3.31. But, it will match up for a 3.91, since the worm gear on the OD unit is different between the 1976-82 M46 (and 1981-85 Turbo M46) and the 1983-85 non-turbo M46. My 245Ti has a 3.91 axle. With the speedo gear from an '84 non-turbo M46, my speedo reads correctly. M46 in my car came from an '82 non-turbo 240.
Early speedo ratios are:
r0,585 (245 with 185R14 and metric speedo)
r0,605 (242/244, plus GLT/Turbo 245 with metric speedo)
r0,960 (1975-85 245 with 185R14, imperial speedo)
r0,980 (1975-85 242/244, plus 245GLT or 245T with imperial speedo)
r0,990 (1973-75 164E)
W1.03 (1973-74 140)
Speedo gear color:
Black - 3.91 and 3.31
Red - 3.73
Blue - 3.54
I've seen some that were yellow, but not sure what ratio they were for, and they might've been for a 140 or an 1800.
The speedo cable needed is the one for a M46. The M45 cables are too short, and the auto cable just barely reaches. At the moment, M46 speedo cables seem to be only made by Scam-Tech.
-J