3 cups a sugar makes 36 cookies how many cookies would 2/3 cup sugar make?

3/36 = (2/3)/x

3x = 24

x = 8