In the diagram below, P is a point inside square ABCD. Find x.
Triangle ADC is right with angle ADC = 90
AC = 2
So DC = 2 / sqrt 2 = sqrt 2 = AB = x