To fix the mixture to the correct shade of red, you can add 9 quarts of red, 7 quarts of yellow and 4 quarts of white.
Step-by-step explanation:
The problem tell us the a specific shade of red nail polish needs the following ratio: 7 parts red to 2 parts yellow to 5 parts white or 7:2:5. However, the current mixture contains a ratio of 40:7:31 and does not follow the same ratio as the given mixture. In order to fix the mixture to make the correct shade, we will need to add additional quarts of each color in order to make our ratio a multiple of 7:2:5. Given that 40 quarts is between the multiples of 42 and 49 for the number 7 and 31 is between the multiples of 35 and 40 for the number 5, it would make the most sense to multiply each number in the ratio by 7 to get: 49:14:35 and add the difference in the quarts to the mixture. 49 - 40 = 9 quarts red; 14 - 7 = 7 quarts yellow; 35 - 31 = 4 quarts white.