how long are the congruent legs of isosceles triangle if its base and altitude to the base are 12cm and 8 cm respectively?

please help me?