Solution: let the no. of wheels be x and no. of colours in flag be y.According to question, The sum of number of colours in the flag and number of lines in the wheel of the flag is 27.
x + y=27 ……(1)
Number of lines in blue colour wheel = 8 times the number of colours
Substituting x=8y in eq.1, we get
putting y=3 in eq.2, we get
x=8 x 3
So, the no. of wheels in a flag is 24.