PLS HURRYYY ILL GIVE 50 POINTS

Use the pattern to determine how many gray squares there would be if there are 18 white squares.