PDF chapter test TRY NOW

Nancy was provided 10 colours. And she has to make a flag for your school cultural programs. The flag should contain 3 regions. But the condition is "No two adjacent sides should have the same color". What is the total number of ways she has to make a flag?
 
shutterstock_1725719485.jpg
 
In  ways, she can make the flag for the school cultural program.