How can I divide a floor into a grid

good tutorial, any way to line trace the grid location? I think I’m slowly answering my own question by manipulating the xy values