we have 8 vertices and they are connected, so they need to have atleast 7 edges
in the simplest case of connectedness all the vertices are in a straight line so we have just one face
so we have
7 edges = 1 face
8 edges = 2 faces, where ever you add the edge
9 edges = 3 faces,
and it goes on
so its like no of edges = no of faces + 6
we have no of faces = 5
so 5+6 = 11