An illustration of a hollow square (square within square) with outer square having a side of 2s+6 and…