How to attach plane surface to BREP or Grid?

I wanted to have the ceiling in the same shape as the grid, so it is L shaped as well :thinking: