with your cursor in the window above what you want to close, move the cursor to a lower corner until it turns into crosshairs…
then left click and drag down toward the window you want to close… the cursor will turn to a downward arrow, then release the left mouse button…
repeat for each window you want to close
hope this helps