I know what to do to solve this problem, but I just can't get the right answer.
Solve for each color first. Then, substitute the answers for the colors in the final code. Remember order of operations. Multiplication comes before addition and subtraction. Work left to right when you add and subtract. Remember subtraction of a negative number is addition.
Thiswas a hint I found on the website. Hope it will help.