Two sides of a triangle are 8cm and 12cm long, and the altitude to the 8-cm side is 9cm. How long is the altitude to the 12-cm side?

the area is constant

so, (base x height) = (base x height)