https://files.askiitians.com/cdn/images/2018925-1985490-6440-equations-reducible-to-a-pair.png