sentence1: When Kedah and Perak sought British help against Thailand, the British sided with the Thais to quell revolts anything for a quiet life.
sentence2: The British double-crossed Kedah and Perak so that the Thais would quell revolts.