Complex sentence: He advised King Zhaoxiang the strategy of "allying distant states while attacking nearby states" (遠交近攻), and the impressed King Zhaoxiang appointed him as the chancellor of Qin.
Split into simpler sentences: He advised King Zhaoxiang about the strategy of "allying distant states while attacking nearby states" (遠交近攻). This advice impressed King Zhaoxiang so much that he appointed him as the chancellor of Qin.