Task 1 is correct. For task 2 you added a new declaration, but we ask to “Edit an existing declaration”. Can you find out which line? (You won’t need !improtant)
Line1 of the stylesheet, if we change the order in which the layers are declared, the task is achieved. Yellow is remained as it is, green comes second and the last comes purple and in this way declared last one which is purple will win and “important” is not the requirement of the question.