An isosceles triangle has a base of 12 cm and legs measuring 18 cm. How wide is the base of a similar triangle with legs measuring 22 cm?