The document puzzle also calls for getting a home and possessing a magic wand to simplify factors, which would be…