Correct answer is : 56

⇒ Total triangles = 8C3
Triangles with all 3 sides common with octagon = 0
Triangle with 2 sides common with octagon ⇒ Choose vertex
= (8C1) ⇒ 8 triangles
Triangle with exactly 1 side common
= (8C1) ways to choose a side, remaining vertex can be selected in 4 vertices = 4C1 ways = 8C1.4C1 = 32
⇒ 56 – (8 + 0 + 32) = 16 triangles