Find the number of squares and triangles in the given figure.
36 triangles, 7 squares
38 triangles, 9 squares
40 triangles, 7 squares
42 triangles, 9 squares
18 (small triangles) + 16 (medium triangles) + 6 (big triangles) = 40
3 (small squares) + 4 (big squares) = 7
Find the ratio of the number of squares to the number of triangles from the given figure :