one is longer than the other by 5 cm. Find the lengths of the other two sides.