Solve for x kx-17=51+x