In each triangle, the number in the centre comes from the three corner numbers by the same rule. Which number replaces the question mark?
Rule (t = top, l = left, r = right): centre = (l + r) × t
Triangle 1: (2 + 1) × 7 = 21 ✓
Triangle 2: (8 + 9) × 5 = 85 ✓
Triangle 3: (2 + 6) × 3 = 24
Pattern: missing number in triangles
Answer: 24