Solve for x z=6pixy