Miro Interview Question

There is a square and write a function to remove the edges.