how yo classify a triangle according to its sides and angles