If the two sides of an isosceles triangle are 2 and 5, then the perimeter of another isosceles triangle is 2 what

If the two sides of an isosceles triangle are 2 and 5, then the perimeter of another isosceles triangle is 2 what

Two sides of an isosceles triangle are equal. So there are two cases
1.2+2+5=9
2.5+5+2=12