How do you simplify z249z+7 and what are the restrictions?