I would like to help me with this homework:

Let http://cdn.mathjax.org/mathjax/lates...c/100/0041.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0038.png be the adjacency matrix of http://cdn.mathjax.org/mathjax/lates...c/100/004B.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0038.png and http://cdn.mathjax.org/mathjax/lates...c/100/0041.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0033.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/002C.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0033.png the adjacency matrix of http://cdn.mathjax.org/mathjax/lates...c/100/004B.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0033.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/002C.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0033.png . Asume that every vertex of http://cdn.mathjax.org/mathjax/lates...c/100/004B.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0038.png is distinguished.

How many sub-matrices of http://cdn.mathjax.org/mathjax/lates...c/100/0041.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0038.png ,if we apply some reorder so much to their(submatrices) rows as to their columns, are equal to http://cdn.mathjax.org/mathjax/lates...c/100/0041.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0033.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/002C.pnghttp://cdn.mathjax.org/mathjax/lates...r/071/0033.png ?

Thank you in advance