In triangle $\triangle ABC$, we have $AB=8cm$, $AC=12cm$ and $BC=15cm$, $I$ the incenter. If $ID//AB$ and $IE//AC$ which is the perimeter of $\triangle IDE$?
After drawing the shape accurately I have that the perimeter is $15$.
Since $ID//AB$, then from Thales we have that $\frac{ID}{AB}=\frac{IO}{OA}$ where $O$ is the intersection of $AI$ and $CB$. If it were the barycenter then we could use the property that $AI=2OI$, but it's the incenter. Could you please explain to me how to solve this question?

Hint: We have $\triangle IDE \sim \triangle ABC$ (since all of the sides are parallel), so it suffices to find the similarity ratio. It's a bit hard to do this directly by calculating the side lengths, but it's easier to think about altitudes. If $H$ is the foot from $A$ to $BC$ and $J$ is the foot from $I$ to $DE$, then $$\frac{\text{perimeter}(\triangle IDE)}{\text{perimeter}(\triangle ABC)}=\frac{IJ}{AH};$$ can you calculate $IJ$ and $AH$?