Solution: Suppose one color band is X and the other is 40-X.
X2-40=(40-x)2 (assuming the length of the first color band here)
Solve equation X=20.5cm.
Other = 40-20.5 =19.5cm.
All in all, a-