do the LOWEST the number it can possibly go in z for option 1 and x for option 2
not done. project for algebraic structures (summer school)