Create quadrants based on a x split in the viewport.

Hello all, I am working on a game that will be playing four different attack animations depending on where the mouse is on the screen. I have a basic crappy system set up right now that I built for testing and to show progress to my boss. But I need to calculate this better by using the mouse position relative to the center screen. I have the calculation for the center screen of the screen relevant to my mouse setup and printing the x and y values. But I still need to calculate my x boundaries so when the mouse is in one quadrant it will display an icon then the player can attack from that position. I have been racking my brain and I know this is some pre-calculus calculations I just can’t seem to figure out how to calculate it.