Answer:
The square ABCD and a square AXYZ so that AB contains X and AD contains Z can only be formed if the square ABCD contains the square AXYZ.
Also, both square has a common point A. Thus squares are drawn from point A.
The possible figure of squares are shown below: