The whale is descended from a deer-like animal that lived 48 million years ago, according to fossil evidence.