Jasmine needs to make a bouquet of 24 yellow and orange carnations. The ratio of yellow carnations to all of the carnations must be 1 to 3. She determines that she will need 8 orange carnations for the bouquet. Which statement correctly describes her error?