solve for x | ScratchStats