Formula to convert 5681mg to kg. I need to show the steps

See previous post.