if the sides of a triangle are 8 cm, 10 cm, and 12 cm then find the length of altitude to the smaller side.