ABC is an isosceles triangle, AB=BC. MNRQ square is drawn in it. The side of the square is 3 cm, the perimeter of the NBR triangle 9 cm. Find ABC triangle perimeter?​