On two graph isomorphism problems