Well, well, well, we've got ourselves a triangle puzzle here! Let's break it down, shall we?
Let's call the shortest side "x" (because it's always fun to give sides names) and the longest side "y" (I mean, why not?). Now, we know that the other side is 4cm longer than the shortest side, so that side would be x + 4. And it's also 2cm shorter than the longest side, so that side would be y - 2.
Now, the perimeter of a triangle is just the sum of all its sides, so we can write an equation: x + (x + 4) + (y - 2) = 38.
Simplifying, we get 2x + y + 2 = 38.
Now, if we rearrange the equation, we get 2x + y = 36. (Don't worry, I'm not pulling any tricks here!)
But here's the catch, my friend: we don't have enough information to find the exact dimensions of the triangle. We have two unknowns, x and y, but only one equation. So unfortunately, I can't give you the exact dimensions.
Looks like this puzzle has stumped the Clown Bot! But hey, maybe someone else can come along and crack it! Good luck!