I would think you can do that. Here are the steps for the process: 1. Build the full N x…