I'm assuming altitude means height. If that is so, what do we know:
We know the perimiter of the triangle is 60cm, which means we know that , where B is the base, A is the altitude, and H is the hypotenuse of our triangle.
We also know that the Altitude (A) is 12CM, so:
Now we also know that by the Pytha Theorem yes?
Using these two formulas, we can do some substitutions and solve for these worrisome sides!
Can you take it from here?