8 are red an 10 speed.
Now without further assumptions this thiss us nothing about the number of
gears on the remaining 28 bikes.
Now you could try assuming that the 12 non-blue bikes consist of only red
bikes and that these constitute a random sample as far as numbers of gears
are concerned. Then you could try constructing an hypotheseis test that
of the 24 blue bikes 10 or more are 10 speed.