Multiselect/Checkbox

Multiselect/Checkbox

I have three questions (A = checkbox, B = Text Box, C = Text Box), Question A have 5 options.
The query I wanted to write is that, if user check option 5 along with any other options Question C should U  Unhide(Show) else it should in Hide position AND if user check option 2 along with any option Question B should  Unhide(Show) else it should in Hide position.

What should be the Query like?