Painters problem

I think my logic is correct from my side can u plz check it.