Brackets in piano or organ music

Would you care to elaborate on how to do this? I’m afraid I don’t quite understand how you mean… Thanks!