Unable to solve CSS assignment on HOVER

I am not getting the logic ,how to apply this

What is the doubt exactly?