MDX misunderstanding: complex FROM clause
Recent versions of SSAS (IIRC 2008+) support subqueries in MDX in much the same way that SQL does.  What you see here is a subquery being used to produce a subcube that is then queried by the outer query.  There's an article on it here.