A Δ or ◯ is placed in each of the nine squares in a 3-by-3 grid. Shown below is a sample configuration with three Δ s in a line.

How many configurations will have three Δ s in a line and three ◯ s in a line?