Call a scalene triangle K [i]disguisable[/i] if there exists a triangle K′ similar to K with two shorter sides precisely as long as the two longer sides of K, respectively. Call a disguisable triangle [i]integral[/i] if the lengths of all its sides are integers.
(a) Find the side lengths of the integral disguisable triangle with the smallest possible perimeter.
(b) Let K be an arbitrary integral disguisable triangle for which no smaller integral
disguisable triangle similar to it exists. Prove that at least two side lengths of K are
perfect squares.
Let's break down the problem and solution step-by-step.

### Part (a)
We need to find the side lengths of the integral disguisable triangle with the smallest possible perimeter.

1. **Define the side lengths and similarity condition:**
   Let the side lengths of triangle \( K \) be \( a \ge b \ge c \). For the similar triangle \( K' \), the side lengths are \( d \ge a \ge b \). The similarity condition implies:
   \[
   \frac{a}{d} = \frac{b}{a} = \frac{c}{b} < 1
   \]
   This implies that \( d, a, b, c \) form a geometric progression.

2. **Express the side lengths in terms of a common ratio:**
   Let the common ratio be \( \frac{r}{s} \) where \( \gcd(r, s) = 1 \). Then we can write:
   \[
   (a, b, c) = (ks^2, ksr, kr^2)
   \]
   for some integer \( k \). Note that \( d = \frac{ks^3}{r} \) does not need to be an integer.

3. **Find the minimal perimeter:**
   To minimize the perimeter, we need to find the smallest values of \( k, r, s \) such that the side lengths are integers and satisfy the triangle inequality. The smallest valid values are \( k = 1, r = 2, s = 3 \):
   \[
   (a, b, c) = (3^2, 3 \cdot 2, 2^2) = (9, 6, 4)
   \]
   The perimeter is:
   \[
   9 + 6 + 4 = 19
   \]
   This satisfies the triangle inequality \( 9 < 6 + 4 \), \( 6 < 9 + 4 \), and \( 4 < 9 + 6 \).

### Part (b)
We need to prove that at least two side lengths of \( K \) are perfect squares for an arbitrary integral disguisable triangle \( K \) with no smaller integral disguisable triangle similar to it.

1. **Form of the side lengths:**
   A primitive integral disguisable triangle must have \( k = 1 \) and is therefore of the form:
   \[
   (s^2, sr, r^2)
   \]
   where \( \gcd(r, s) = 1 \).

2. **Perfect squares:**
   In the form \( (s^2, sr, r^2) \), the side lengths \( s^2 \) and \( r^2 \) are clearly perfect squares. Therefore, at least two side lengths of \( K \) are perfect squares.

\(\blacksquare\)

The final answer is \( \boxed{ (9, 6, 4) } \) for part (a) and the proof for part (b) is complete.