Mean first-passage time for random walks on the T-graph