Computing the grand-unification mass in terms of the lengths of the fifth or sixth dimension