P/E mulitple and g and beta

when compare P/E multiple with benchmark to determine if a company is under/over valued, which factor need to be consider first, g or beta. what happen is g < bench mark g , and beta > bench mark beta? should we use g, like this: P/E > bench mark, because g < benchmark, so the company is over valued. vice versa. Thanks.

I know this answer is not what you’re looking for but I think you are overanalyzing. CFAI won’t give you a question like this.