Know cyclic quadrilaterals?
In triangle ABC angle C is right with AB=12. Squares ABXY and ACWZ are constructed outside ABC. Given that the points W, X, Y, Z lie on one circle, the perimeter of ABC can be expressed in the form of a+b*sqrt(c) where c isn't divisible by the square of any prime. Find a+b+c. Source: AMC 10