In picture 6 how on earth did you get the hose off

I'm worried about ripping it off its soft rubber and its not budging and then how to put it back on use some soapy water? I think I have found it now i just need to pull off both hoses and disconnect the electronic connector.
Thanks!