Evolution accounts for this easily with the maxim that ontogeny recapitulates phylogeny. That is to say that an organisms development from zygote to adult reflects their evolutionary heritage.
Whales evolved from land-going mammals which of course hand hind legs.
But how does the Creationist explain this pointless, redundant growth and loss of hind limbs?