Alight Solutions interview question

Two triangle puzzle