In the diagram below, P is a point inside square ABCD. Find x.
The three diagonals define APB to be a 45-45-90 triangle, so x=\(\sqrt{2}\).