Come we have tips
Tip: Counting triangles with in Square, Rectangle, Quadrilateral 
Find the Number of triangles | Calculate number of triangles in a square | allmathtricks
Find the number of triangles in the above figures
Figure – 1 : Number of triangles in Fig – 1 =  8
Hint: Here we have totally two diagonals and having four blocks. So the formula is no.ofblocks ×diagonals (4 x 2 =8number of triangles).
Figure – 2 : Number of triangles in Fig – 2  =  16
Hint: Here we have  two diagonals and eight blocks. So formula for that 8 x 2 = 16 number of triangles.
Figure – 3 : Number of triangles in Fig – 3  =  18
Hint: Here each square having 8 no. of triangles and combine squares having 2 no. of triangles. So total number of   triangles – 8 + 8 + 2 = 18.
Figure – 4 : Number of triangles in Fig – 3  =  28
Hint: Here each square having 8 no. of triangles and combine squares having 4 no. of triangles. So total number of   triangles – 8 + 8 + 8 + 4 = 28.