2.(15%) Given a directed graph G as in Figure 1, derive a relation matrix R of the graph, and derive the matrix of transitive closure R* of relation R.