Having problems with comparison-with-the-equality-operator?

Im stuck and i was wondering if anyone could give me a hint or the solution on how to do this?

thank you for the help! :slight_smile: